[Answered ]-Extending user model form with custom fields

2👍

user_profile = new_user.get_profile()
user_profile.company = company
user_profile.save()

Don’t forget to configure your UserProfile class in settings so Django knows what to return on user.get_profile()

Leave a comment