Opened 3 years ago
Closed 3 years ago
#33777 closed Bug (invalid)
from django.conf.urls import include is missing
Reported by: | Karsten | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 4.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
from django.contrib import admin from django.urls import include, path +from django.conf.urls import include urlpatterns = [ path('polls/', include('polls.urls')), path('admin/', admin.site.urls), ]
Note:
See TracTickets
for help on using tickets.
The second line has
from django.urls import include
which is sufficient.