Hi Frank.

> is there any reason that the login_required decorator doesn't have the
> login_url parameter?

If you want to set the login url to something other than the default /
accounts/login/ you add this to your settings.py:

from django.contrib.auth import LOGIN_URL
LOGIN_URL = '/accounts/signin/'

Scott


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to