summaryrefslogtreecommitdiff
path: root/app/locations/walk_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/locations/walk_urls.py')
-rw-r--r--app/locations/walk_urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/locations/walk_urls.py b/app/locations/walk_urls.py
index f3ed6cc..92b2962 100644
--- a/app/locations/walk_urls.py
+++ b/app/locations/walk_urls.py
@@ -7,17 +7,17 @@ app_name = "walks"
urlpatterns = [
path(
r'<str:slug>',
- views.TrackDetail.as_view(),
+ views.TrackDetailView.as_view(),
name="track-detail"
),
re_path(
r'^(?P<page>\d+)/$',
- views.TrackList.as_view(),
+ views.TrackListView.as_view(),
name="track-list"
),
re_path(
r'',
- views.TrackList.as_view(),
+ views.TrackListView.as_view(),
{'page':1},
name="track-list"
),