Re: Prevent direct access to some URLs

2012-07-26 Thread Blaxton
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

Prevent direct access to some URLs

2012-07-25 Thread Blaxton
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