Thank you so much Malcolm but to display extra fields on sign up we
will have to customize the django.contric.auth.forms then that form is
generated from the user models i am so much confused whether i will
have to add extra field in user model class or not but i do not want
change the structure of auth_user table. ok in a single line i want
django-registration and django-profile to be mingle in one form. could
you please suggest me link or idea.

On Apr 8, 5:36 pm, Praveen <praveen.python.pl...@gmail.com> wrote:
> hi all i have one very intrested question when we write /accounts/
> register/ then on browser i get 5 field
> username,pwd,cnfpwd,firstname,lastname
> but i want to add two more fields city, age on registration form.
> i know i can use django-profiles to extend User and can save to
> UserProfile
> but i am not worried let the city, age save to UserProfile table.
> i want the user should feel he is registering with site but mechanism
> is we are saving registration and profile at a time.
> if i write on browser
> /accounts/register
>
> User Name : TextField
> First Name : TextField
> Last Name : TextField
> Password   : TextField
> Confirm      : TextField
> City            : TextField
> Age            : DropDown
>
> Click on Register
> last two field is saving to UserProfile table and remain are saving to
> auth_user.
> in settings.py AUTH_PROFILE_MODULE = app_label.UserProfile
> i am very much familiar with django-registration and django-profile
> but it really wiered to display extra fields on Registration Form for
> that we will have to customize the from django.contrib.auth.forms.
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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