Thursday, October 13, 2011

Re: custom table for django authentication possible

On 13/10/2011 13:15, Jiss wrote:
> I am new to django. Can I use my own table (say) 'User' instead of
> 'auth_user' table (keeeping all other tables for django
> authentication ) ?.
>

Why would you want to do that?
Keep everything standard and put the fields you want in a UserProfile
of your own where you store the extra information.
See the django doc:
https://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users

Cheers,
Benedict

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment