[Django]-Django authentication – wrong redirect url to login page 23 December 2023 by thecoderscamp.com 46👍 ✅ You need to set the LOGIN_URL in settings as well: LOGIN_URL = '/user/login' 👤ars [Django]-Test for existence of template block in a template Source:stackexchange.com