📌  相关文章
📜  views.MainView.as_view(), name='all' - Python 代码示例

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

代码示例1
from django.urls import path

from article.views import ArticleDetailView

urlpatterns = [
    path('/', ArticleDetailView.as_view(), name='article-detail'),
]