#35379: Possible error in documentation
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  NobitaNoobie                       |
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:             |        Version:  5.0
  Documentation                      |
               Severity:  Normal     |       Keywords:  Documentation fault
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 With reference to the tutorial:
 https://docs.djangoproject.com/en/5.0/intro/tutorial01/
 While running the demo polls app in my development server I received the
 following error message:
 Using the URLconf defined in mysite.urls, Django tried these URL patterns,
 in this order:

 polls/
 admin/
 The empty path didn’t match any of these.

 But when I changed the mysite\urls, likeso,
 urlpatterns = [
     path("", include("polls.urls")),
     path("admin/", admin.site.urls),
 ]

 I was able to display the desired response. Please check!
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35379>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018eeb454a6b-072b2936-aded-4d84-a50b-1cd64f1c8386-000000%40eu-central-1.amazonses.com.

Reply via email to