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