from django.urls import path, re_path from . import views app_name = "reviews" urlpatterns = [ path( r'', views.PostDetailView.as_view(), name="review-detail" ), path( r'.txt', views.PostDetailViewTXT.as_view(), name="review-detail-txt" ), path( r'/', views.GuidesListView.as_view(), name="review-list" ), path( r'', views.GuidesListView.as_view(), {'page':1}, name="review-list" ), ]