On 18 mrt, 04:01, Wiiboy <jordon...@gmail.com> wrote: > Hi guys, > I'm using a combination of the UserCreationForm and my own ModelForm > of my Profile model to create a registration form. I want to get > users' email addresses, however, that seems to be a field in > contrib.auth.User, so it should be in UserCreationForm. I don't know > whether to > a. Add to the UserCreationForm, and add an email_address field or > b. Add the email_address field to my custom form, and retrieve it and > save it to the contrib.auth.User model after the form is submitted. > > Any ideas
I think you should go for plan B. Just add it to the User model when you create the user. How about username and password? are they also on your form? or is it a separate process? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.