This commit is contained in:
2024-07-20 11:36:35 +02:00
commit 74b43cd8fa
81 changed files with 3131 additions and 0 deletions

9
blog/urls.py Normal file
View File

@@ -0,0 +1,9 @@
from django.urls import path
from . import views
app_name = 'blog'
urlpatterns = [
path("", views.ArticleListView.as_view(), name="article_list"),
path("<int:pk>-<str:slug>/", views.ArticleDetailView.as_view(), name="article_detail"),
]