Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django urlpattern

from django.urls import path
from django.views.generic import TemplateView

urlpatterns = [
    path('about/', TemplateView.as_view(template_name="about.html")),
]
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #urlpattern
ADD COMMENT
Topic
Name
9+1 =