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