I just figured the solution is using @login_required decorator.
Thanks
From: Blaxton <blaxx...@yahoo.com>
To: "django-users@googlegroups.com" <django-users@googlegroups.com>
Sent: Wednesday, July 25, 2012 10:42:31 PM
Subject: Prevent
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
2 matches
Mail list logo