Opened 7 years ago
Last modified 7 years ago
#29070 closed Bug
Admin login redirects to /accounts/login after upgrade to Django 2.0 — at Version 1
Reported by: | Dan Loewenherz | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 2.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
After upgrading to Django 2.0, our administrative site login redirects to the site-wide login URL (/accounts/login) instead of the admin login. This seems like a bug.
LOGIN_URL
and LOGOUT_URL
are both default, and path('admin/', admin.site.urls),
is the first URL listed in urlpatterns
.
If this is a known issue, great, if not, let me know and I will try to get a reproducible test case.
Note:
See TracTickets
for help on using tickets.