#8906: django.contrib.auth settings.py URL's aren't portable ----------------------------+----------------------------------------------- Reporter: levity | Owner: nobody Status: new | Milestone: Component: Authentication | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ----------------------------+----------------------------------------------- in r8015, django gained the ability to be moved from one path to another easily by setting "!PythonOption django.root /whatever" in the httpd conf, as described at [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined BackwardsIncompatibleChanges].
However, the LOGIN_URL, LOGOUT_URL, and LOGIN_REDIRECT_URL variables in settings.py don't seem to be affected by these changes. So, if i have LOGIN_URL = '/login/' in settings.py, it'll still resolve to just "/login/" even if i have django.root set so that everything else becomes "/whatever/some_other_path/". which makes the app non-portable. -- Ticket URL: <http://code.djangoproject.com/ticket/8906> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" 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-updates?hl=en -~----------~----~----~----~------~----~------~--~---
