xinhua_base

This commit is contained in:
2025-08-11 13:10:23 +08:00
parent b43443551f
commit 4e5e35b4fa
20 changed files with 427 additions and 1 deletions

10
core/urls.py Normal file
View File

@@ -0,0 +1,10 @@
from django.urls import path
from . import views
urlpatterns = [
# 主页,文章列表
path('', views.article_list, name='article_list'),
# 文章详情
path('article/<int:article_id>/', views.article_detail, name='article_detail'),
# 后续可以加更多路径
]