Re: User Login in django
On Wed, Nov 4, 2009 at 10:31 AM, Daniel Roseman wrote: > > On Nov 4, 4:26 am, Denis Bahati wrote: > > Am real need to reinvent the wheel because i have a project which needs > to > > define some user roles, and enable users to update the status of their > own > > properties and not the other property. Thanks in advance for any help you > > give me. > Or just create your own authentication backends using your User models, Django will be able to handle session as usual and you will have what you want for your user model http://docs.djangoproject.com/en/dev/topics/auth/#specifying-authentication-backends I hope this helps, Julien --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: User Login in django
On Nov 4, 4:26 am, Denis Bahati wrote: > Am real need to reinvent the wheel because i have a project which needs to > define some user roles, and enable users to update the status of their own > properties and not the other property. Thanks in advance for any help you > give me. > Then use a UserProfile linked to the auth.User object. -- DR. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: User Login in django
Am real need to reinvent the wheel because i have a project which needs to define some user roles, and enable users to update the status of their own properties and not the other property. Thanks in advance for any help you give me. On Tue, Nov 3, 2009 at 4:32 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > > On 3 nov, 13:37, Denis Bahati wrote: > > Hi there, > > Am creating a login screen using django form but failing to get the > concept > > on how can i query from the database to get the user verified as a > > registered user. > > Do you have a real need for reinventing the wheel ? > > http://docs.djangoproject.com/en/dev/topics/auth/ > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: User Login in django
On 3 nov, 13:37, Denis Bahati wrote: > Hi there, > Am creating a login screen using django form but failing to get the concept > on how can i query from the database to get the user verified as a > registered user. Do you have a real need for reinventing the wheel ? http://docs.djangoproject.com/en/dev/topics/auth/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---