from .import views
from django.urls import path


urlpatterns = [
    path('', views.PostList.as_view(), name='blog'),
    # path ('<slug:slug>/', views.PostDetail.as_view(), name='post_detail'),
    path('add/', views.add_post, name='add_post'),
    path('<slug:slug>/', views.post_detail, name='post_detail')
    ]
