Re: User Login in django

2009-11-04 Thread Julien Petitperrin
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

2009-11-04 Thread Daniel Roseman

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

2009-11-03 Thread Denis Bahati
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

2009-11-03 Thread bruno desthuilliers

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 with Django 1.0

2008-09-25 Thread Jeff Anderson
jeffhg58 wrote:
> I just recently upgraded to Django 1.0, but when I log in with users
> that I have created I get up a popup window
> stating syntax error and after I login the clock and calendar objects
> are lost.
>   
You'll need to be much more specific. Where are you logging in. What do
you mean by "popup" and what clock and calendar objects are you speaking
of?



signature.asc
Description: OpenPGP digital signature