Ajout des fonctionnalités de blog : modèles, migrations, vues, templates, contexte et styles.
This commit is contained in:
parent
3e44013132
commit
c1749068af
16 changed files with 245 additions and 9 deletions
|
|
@ -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'),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue