8 lines
No EOL
196 B
Python
8 lines
No EOL
196 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'blog'
|
|
urlpatterns = [
|
|
path('', views.blog_home, name='blog'),
|
|
path('<int:slug>/', views.blog_view_post, name='post_detail'),
|
|
] |