123456789 |
- from django.urls import path
- from . import views
- app_name = "comments"
- urlpatterns = [
- # url(r'^po456stcomment/(?P<article_id>\d+)$', views.CommentPostView.as_view(), name='postcomment'),
- path('article/<int:article_id>/postcomment', views.CommentPostView.as_view(), name='postcomment'),
- ]
|