Answers for "django detailview template"

1

django templateview

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

urlpatterns = [
    path('about/', TemplateView.as_view(template_name="about.html")),
]
Posted by: Guest on January-12-2020
1

django display view library

from django.views.generic.detail import DetailView
Posted by: Guest on March-02-2020

Python Answers by Framework

Browse Popular Code Answers by Language