#28886: Two different urls set are suggested for start with the authentication
subsystem
-----------------------------------------+------------------------
               Reporter:  David Mugnai   |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Documentation  |        Version:  1.11
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 In the "The login_required decorator" paragraph of the "Using the Django
 authentication system" guide is stated that the default url for the login
 view is "/accounts/login", but in the "Authentication Views" section all
 the examples don't use the "accounts/" part.

 I think  the examples should be changed to start with this code:
 {{{
     urlpatterns = [
         path('^accounts$', include('django.contrib.auth.urls')),
     ]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28886>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.29aa61f204793fa2798232e1ecb31c38%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to