urls.py (raw)
1 2 3 4 5 6 7 8 9 |
from django.urls import path from . import views app_name = "comments" urlpatterns = [ path('<str:thread_id>/', views.thread, name='thread'), path('<str:thread_id>/post/', views.post, name='post'), ] |