Kaydet (Commit) d5109710 authored tarafından shinriyo's avatar shinriyo Kaydeden (comit) Tim Graham

Fixed typo in docs/topics/auth/default.txt.

üst f3427ccb
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment