Ajout des fonctionnalités de blog : modèles, migrations, vues, templates, contexte et styles.

This commit is contained in:
mrtoine 2025-12-15 20:58:25 +01:00
parent 3e44013132
commit c1749068af
16 changed files with 245 additions and 9 deletions

View file

@ -4,5 +4,5 @@ from . import views
app_name = 'blog'
urlpatterns = [
path('', views.blog_home, name='blog'),
path('<int:slug>/', views.blog_view_post, name='post_detail'),
path('<str:slug>/', views.blog_view_post, name='post_detail'),
]