Hello,

 

http://docs.djangoproject.com/en/dev/ref/settings/#setting-LOGIN_URL

 

As you can see, you need to implement the LOGIN_URL value in your
settings.py file.

 

From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com]
On Behalf Of }--o
Sent: Sunday, September 27, 2009 7:18 PM
To: django-users
Subject: login_required redirects to a specific url

 

Hi,

I'm using the login_required decorator extensively, but have one view where
instead of the default landing page ('accounts/login') I would like to
redirect it to a specific page. Is there a simple way to do this?

Viktor



--~--~---------~--~----~------------~-------~--~----~
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