Admin login view does not respect REDIRECT_LOGIN_URL

83 views
Skip to first unread message

Gagan Deep

unread,
Oct 16, 2023, 11:35:35 PM10/16/23
to Django developers (Contributions to Django itself)
Hello everyone, 

While working on my project, I found that the admin login view does not respect the REDIRECT_LOGIN_URL. This could be design decision that I am overlooking (because admin is a special case?). 

In my limited time, I couldn't find a related discussion for this on Django's trac or GitHub repository (PRs). Hence, I wanted to confirm before opening a issue on trac. 

Regards, 
Gagan Deep 

Maciek Olko

unread,
Oct 17, 2023, 9:24:34 AM10/17/23
to django-d...@googlegroups.com
Hello,

Please double check the setting name, it should be LOGIN_REDIRECT_URL https://docs.djangoproject.com/en/4.2/ref/settings/#login-redirect-url.

Regards,
Maciej

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/6ead2cb4-c88f-4b4e-bd6c-a531491454cdn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages