from django.urls import path
from . import views

app_name = 'post'

urlpatterns = [
    path('', views.index, name='main-page'),
    path('create/', views.create, name='post-create'),
    path('post/<str:post_pk>/', views.show, name='post-detail'),
    path('<str:post_pk>/edit/', views.edit, name='post-edit'),
    path('<str:post_pk>/delete/', views.delete, name='post-delete'),
]
