﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35620	LOGIN_REDIRECT_URL has no effect in admin	holasoftware		"In the method 
{{{
    def login(self, request, extra_context=None):
}}}

of the class AdminSite, these lines have to removed:
{{{
        if (
            REDIRECT_FIELD_NAME not in request.GET
            and REDIRECT_FIELD_NAME not in request.POST
        ):
            context[REDIRECT_FIELD_NAME] = reverse(""admin:index"", current_app=self.name)
}}}

https://github.com/django/django/blob/main/django/contrib/admin/sites.py#L431-L435

Otherwise the setting 
{{{
    LOGIN_REDIRECT_URL
}}}
has no effect."	Bug	closed	contrib.admin	5.1	Normal	invalid	admin, login, LOGIN_REDIRECT_URL		Unreviewed	0	0	0	0	0	0
