mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #17209 -- Added LoginView and LogoutView class-based views
Thanks Tim Graham for the review.
This commit is contained in:
@@ -292,5 +292,5 @@ urlpatterns = [
|
||||
views.BookSigningDetail.as_view()),
|
||||
|
||||
# Useful for testing redirects
|
||||
url(r'^accounts/login/$', auth_views.login)
|
||||
url(r'^accounts/login/$', auth_views.LoginView.as_view())
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user