...
The next action you should do is adding following two lines to url.py on your project like below.
| Code Block | ||
|---|---|---|
| ||
from django.conf.urls import include |
| Code Block | ||
|---|---|---|
| ||
path('polls/', include('polls.urls')), |
So, the final code should be like below
| Code Block | ||
|---|---|---|
| ||
from django.contrib import admin
from django.urls import include, path
from django.conf.urls import include
urlpatterns = [
path('admin/', admin.site.urls),
path('polls/', include('polls.urls')),
] |
...