On Mar 17, 8:01 pm, 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.
>

I'd definitely go with the latter. Here's some working code used to
solve a similar problem when using django-profiles:

http://stackoverflow.com/questions/1075314/allow-changing-of-user-fields-like-email-with-django-profiles/1491087#1491087

Scot

-- 
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.

Reply via email to