from django.urls import path
from . import views

urlpatterns = [
    path('create/', views.create_comment, name='create_comment'),
    path('post/<int:post_id>/', views.list_comments, name='list_comments'),
    path('<int:comment_id>/update/', views.update_comment, name='update_comment'),
    path('<int:comment_id>/delete/', views.delete_comment, name='delete_comment'),
    path('<int:comment_id>/like/', views.like_comment, name='like_comment'),
    path('<int:comment_id>/unlike/', views.unlike_comment, name='unlike_comment'),
]