path('area', views.area_list, name='area-list'),
path('area/<int:pk>', views.area_detail, name='area-detail'),
path('attempt', views.attempt_list, name='attempt-list'),
- path('boulder', views.boulder_list, name='boulder-list'),
path('boulder/<int:pk>', views.boulder_detail, name='boulder-detail'),
- path('route', views.route_list, name='route-list'),
path('route/<int:pk>', views.route_detail, name='route-detail'),
path('todo', views.todo_list, name='todo-list'),
)
pass
boulder_detail = BoulderDetailView.as_view()
-class BoulderListView(ListView):
- pass
-boulder_list = BoulderListView.as_view()
-
class RouteDetailView(DetailView):
pass
route_detail = RouteDetailView.as_view()
-class RouteListView(ListView):
- pass
-route_list = RouteListView.as_view()
-
class TodoListView(ListView):
pass
todo_list = TodoListView.as_view()