urls

from django.urls import path
urlpatterns=[
path('',views.func[,name='name']),
]

原文地址:https://www.cnblogs.com/mznsndy/p/11314251.html