📜  django urlpattern - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:20.141000             🧑  作者: Mango

代码示例1
from django.urls import path
from django.views.generic import TemplateView

urlpatterns = [
    path('about/', TemplateView.as_view(template_name="about.html")),
]