from django.urls import path, re_path from ..views import craft_views as views app_name = "craft" urlpatterns = [ path( r'', views.CraftDetailView.as_view(), name="craft-detail" ), path( r'.txt', views.CraftDetailViewTXT.as_view(), name="detail-txt" ), path( r'/', views.CraftListView.as_view(), name="list" ), path( r'', views.CraftListView.as_view(), {'page':1}, name="list" ), ]