Re: Authentication system
http://docs.djangoproject.com/en/1.3/topics/auth/#limiting-access-to-logged-in-users
You can either put the @log_required decorator on each of the views
you want protected, or you can do it the raw way (see link), which may
offer more flexibility.
On Apr 4, 5:22 am, 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home