diff options
| author | shinriyo <shinriyo@gmail.com> | 2017-04-29 19:56:28 +0900 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-04-29 06:56:28 -0400 |
| commit | d510971088570e205e49f9fa665a8d4259514ada (patch) | |
| tree | 5211c6ca3fe87d378f0ed59d9190bb854725a16e /docs | |
| parent | f3427ccb25806bb062becad0d6a0904930b36635 (diff) | |
Fixed typo in docs/topics/auth/default.txt.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/auth/default.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 <LOGIN_URL>` also accepts view function names and :ref:`named URL patterns <naming-url-patterns>`. This allows you |
