init. 初始化项目,并初步完成前端模板样式
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from django.urls import path, include
|
||||
|
||||
from front import views
|
||||
|
||||
app_name = 'front' # 可选,用于命名空间(如 {% url 'main:index' %})
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name='index'),
|
||||
path('h/', views.index, name='h'),
|
||||
path('about/', views.about, name='about'),
|
||||
path('news/', views.news, name='news'),
|
||||
path('info/', views.info, name='info'),
|
||||
path('service/', views.service, name='service'),
|
||||
path('party/', views.party, name='party'),
|
||||
path('interaction/', views.interaction, name='interaction'),
|
||||
path('science/', views.science, name='science'),
|
||||
]
|
||||
Reference in New Issue
Block a user