Re: [Django] #35620: LOGIN_REDIRECT_URL has no effect in admin (was: LOGIN_REDIRECT_URL has no effect.)

7 views
Skip to first unread message

Django

unread,
Jul 20, 2024, 9:44:06 AM7/20/24
to django-...@googlegroups.com
#35620: LOGIN_REDIRECT_URL has no effect in admin
-------------------------------------+-------------------------------------
Reporter: holasoftware | Owner: (none)
Type: Bug | Status: closed
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution: invalid
Keywords: admin, login, | Triage Stage:
LOGIN_REDIRECT_URL | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* resolution: => invalid
* status: new => closed
* summary: LOGIN_REDIRECT_URL has no effect. => LOGIN_REDIRECT_URL has no
effect in admin

Comment:

I think it's intended behavior. While the admin login does use
`LoginView`, the setting isn't meant to apply there. You shouldn't use the
admin's login page for non-admin purposes.
--
Ticket URL: <https://code.djangoproject.com/ticket/35620#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages