The blog base view

This commit is contained in:
2025-07-26 18:36:16 +08:00
parent 0cb2b6e621
commit 5a585b4fc9
9 changed files with 121 additions and 11 deletions

8
myblog/blog/urls.py Normal file
View File

@@ -0,0 +1,8 @@
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('post/<int:post_id>/', views.detail, name='detail'),
]