from django.urls import path from .views import ads, AdDetailView, comments urlpatterns = [ path('ads//comments/', comments), path('ads//', AdDetailView.as_view()), path('ads/', ads), ]