Ahh okay. Yeah -- you'll most likely need to write your own custom
authentication backend to use the existing table.

https://docs.djangoproject.com/en/1.3/topics/auth/#writing-an-authentication-backend

Good luck!

On Wed, Oct 19, 2011 at 2:36 AM, Jisson Varghese <
jisson.vargh...@dexetra.com> wrote:

> I want to do this since,The project I am handling(my first web project) is
> a mobile version of a project ,there is already a user table in our
> serverside.So avoid redundancy ,am not able to create a new table for users.
>
>
> On Thu, Oct 13, 2011 at 8:11 PM, Benedict Verheyen <
> benedict.verhe...@gmail.com> wrote:
>
>> 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+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>  --
> 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.
>

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