From d510971088570e205e49f9fa665a8d4259514ada Mon Sep 17 00:00:00 2001 From: shinriyo Date: Sat, 29 Apr 2017 19:56:28 +0900 Subject: [PATCH] Fixed typo in docs/topics/auth/default.txt. --- docs/topics/auth/default.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 99b21842ef..4d8fbc37c9 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -502,7 +502,7 @@ The ``login_required`` decorator from django.contrib.auth import views as auth_views - url(r'^accounts/login/$', auth_views.Login.as_view()), + url(r'^accounts/login/$', auth_views.LoginView.as_view()), The :setting:`settings.LOGIN_URL ` also accepts view function names and :ref:`named URL patterns `. This allows you