from django.urls import path, re_path from . import views app_name = "review" urlpatterns = [ path( r'', views.GuideDetailView.as_view(), name="review-detail" ), path( r'.txt', views.GuideDetailViewTXT.as_view(), name="review-detail-txt" ), ]