urls.py 283 B

123456789
  1. from django.urls import path
  2. from . import views
  3. app_name = 'comment'
  4. urlpatterns = [
  5. path('post_comment/<int:article_id>', views.post_comment, name='post_comment'),
  6. path('post_comment/<int:article_id>/<int:parent_comment_id>', views.post_comment, name='comment_reply'),
  7. ]