i beleve it is

@login_required
before the method in views.py  to protect access by decorators

http://docs.djangoproject.com/en/1.3/releases/1.2/

On Mon, Apr 4, 2011 at 2:22 PM, GOUTAM KUMAR RANA <ranagou...@gmail.com>wrote:

> How to port authentication system to every page so that only logged in
> will able to view the pages or else it shall redirect to the login
> page giving error that user should be logged in first.
>
> for a custom project is the djangos admin used for login features or
> we can have our own.
> please help me if there is a different custom auth system
>
> --
> 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