Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

registration of the path django urls in the core app or main app

from django.contrib import admin
from django.urls import include, path

urlpatterns = [
    path('polls/', include('polls.urls')),
    path('admin/', admin.site.urls),
]
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #registration #path #django #urls #core #app #main #app
ADD COMMENT
Topic
Name
7+8 =