<reponame>earthian3rd/djangogram-cookiecutter
from django.urls import path
from . import views

app_name = 'post'

urlpatterns = [
    # /post/
    path('', views.index, name='index'),
    # /post/create/
    path('create/', views.post_create, name='post_create'),
    # /posts/3/update/
    path('<int:post_id>/update/', views.post_update, name="post_update"),
    # /post/1/comment_create/
    path('<int:post_id>/comment_create', views.comment_create, name='comment_create'),
    #/post/1/comment_delete/
    path('<int:comment_id>/comment_delete', views.comment_delete, name='comment_delete'),
    #/post/5/post_like/
    path('<int:post_id>/post_like', views.post_like, name='post_like'),
]

