Opened 2 years ago

Closed 2 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),
]

Change History (1)

comment:1 by Tim Graham, 2 years ago

Resolution: invalid
Status: newclosed

The second line has from django.urls import include which is sufficient.

Note: See TracTickets for help on using tickets.
Back to Top