I found this post on how to extend the UserCreationForm with extra fields such as “email.” However, the email field is already defined in the pre-built user model.
I created an extra model (called UserProfile) that futher extends Django’s pre-built User class. How do I get these fields I defined in UserProfile to appear in my UserCreationForm?
Add fields as appropriate for your
UserProfilemodel (it’s not too easy to use aModelFormto avoid Repeating Yourself, unfortunately), then create and save a newUserProfileinstance in the over-riddensave()function. Adapted from the post you linked to: