mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #24097 -- Prevented AttributeError in redirect_to_login
Thanks Peter Schmidt for the report and the initial patch. Thanks to Oktay Sancak for writing the original failing test and Alvin Savoy for supporting contributing back to the community.
This commit is contained in:
parent
f5c3a8bff5
commit
d7bc37d611
6 changed files with 48 additions and 8 deletions
|
@ -2,5 +2,5 @@ from django.conf.urls import url
|
|||
from django.contrib.auth import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^accounts/logout/$', views.logout),
|
||||
url(r'^accounts/logout/$', views.logout, name='logout'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue