custom authenticate method

2013-07-11 Thread adroit . goose
Hello, In the custom authentication documentation, I saw a example of how to authenticate using email address and password. But, I did not understand how we can authenticate using 3 parameters for eg, [userid, password] from user table and [companyid] (from company table as a foreign key in us

Re: Custom Authentication

2013-07-03 Thread adroit . goose
Thank you :-) On Wednesday, July 3, 2013 2:47:15 PM UTC+2, Odin wrote: > > You can extend the User Model: > https://docs.djangoproject.com/en/dev/topics/auth/customizing/#extending-the-existing-user-model > > > 2013/7/3 > > >> Hello, >> >> I am a newbie to Django and would wish to know if it poss

Extending Django Admin functionality

2013-07-03 Thread adroit . goose
Hello, I am a newbie to Django and would like to know if the functionality of Django admin can be extended to my own needs. If it is possible, is it a good idea extend the functionality or start from scratch. Is there any good documentation for the same?. Than

Custom Authentication

2013-07-03 Thread adroit . goose
Hello, I am a newbie to Django and would wish to know if it possible to use the authentication scheme(from django.contrib import auth) on a custom made 'Company_user' table. I don't want to use the default User object provided by Django admin as the fields in the custom table are different. How