from django.urls import path

from ..views import post_list, post_like, post_create, comment_create

app_name = 'posts'

urlpatterns = [
    path('', post_list, name='post-list'),
    path('<int:pk>/like/', post_like, name='post-like'),
    path('create/', post_create, name='post-create'),
    path('<int:post_pk>/comments/create/', comment_create, name='post-comment'),
]
