#29070: Admin login redirects to /accounts/login after upgrade to Django 2.0
--------------------------------+--------------------------------------
     Reporter:  Dan Loewenherz  |                    Owner:  nobody
         Type:  Bug             |                   Status:  new
    Component:  contrib.admin   |                  Version:  2.0
     Severity:  Normal          |               Resolution:
     Keywords:                  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+--------------------------------------
Description changed by Dan Loewenherz:

Old description:

> After upgrading to Django 2.0, our administrative site login redirects to
> the site-wide 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.

New description:

 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.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29070#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.14a4a23b1632b05f488b90036397d50c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to