Opened 18 years ago
Closed 18 years ago
#3859 closed (duplicate)
add LOGIN_URL to settings.py
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Contrib apps | Version: | 0.96 |
Severity: | Keywords: | auth login_url | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
To have an ability to change default login url add LOGIN_URL ro settings.py and smth like if hasattr(settings,'LOGIN_URL'): LOGIN_URL=settings.LOGIN_URL
to django/contrib/auth/init.py
Note:
See TracTickets
for help on using tickets.
Duplicate of #3185