add url for polls

main
roger 2 years ago
parent c919a293d9
commit db04c7d7d8
  1. 0
      db.sqlite3
  2. 3
      w3cschool_demo/urls.py

@ -14,8 +14,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
""" """
from django.contrib import admin from django.contrib import admin
from django.urls import path from django.urls import path, include
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('polls/', include('polls.urls')),
] ]

Loading…
Cancel
Save