from django.urls import path from . import views app_name = "comments" urlpatterns = [ path('/', views.thread, name='thread'), path('/post/', views.post, name='post'), ]