feat(projects): 新增Django综合案例示例代码及素材
This commit is contained in:
8
projects/web-django/quickstart/view/urls.py
Normal file
8
projects/web-django/quickstart/view/urls.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import IndexView, index
|
||||
|
||||
urlpatterns = [
|
||||
path("", index),
|
||||
path("class/", IndexView.as_view()),
|
||||
]
|
||||
Reference in New Issue
Block a user