I just figured the solution is using @login_required decorator.
Thanks
From: Blaxton
To: "django-users@googlegroups.com"
Sent: Wednesday, July 25, 2012 10:42:31 PM
Subject: Prevent direct access to some URLs
Hi
I have set up a login p
Hi
I have set up a login page, using "django.contrib.auth.views.login"
and user's would be forwarded to their own web page after being
authenticated, but they can access to their web page directly with
placing the related uri.
how can I prevent direct access to those page ?
Thanks
--
You r
2 matches
Mail list logo