﻿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
35063	Django 5 LOGOUT_REDIRECT_URL does not work correctly	Koljasha	nobody	"Procedure, explanation:
* create default project 'root': `django-admin startproject root`
* do migrate: `python manage.py migrate`
* createsuperuser: `python manage.py createsuperuser`
* add in `root/settings.py` for example: `LOGOUT_REDIRECT_URL = 'admin:index'`
* add in `root/urls.py`: `path('accounts/', include('django.contrib.auth.urls')),`
* after authorization, I do: http://127.0.0.1:8000/accounts/logout/
    - in 4.2.8 correct - redirect: http://127.0.0.1:8000/admin/login/?next=/admin/
    - in 5.0 not correct - only white screen and in console: ""GET /accounts/logout/ HTTP/1.1"" 405 0"	Bug	closed	contrib.auth	5.0	Normal	invalid			Unreviewed	0	0	0	0	0	0
