diff options
Diffstat (limited to 'app/locations/walk_urls.py')
-rw-r--r-- | app/locations/walk_urls.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/locations/walk_urls.py b/app/locations/walk_urls.py index 4019ef6..f3ed6cc 100644 --- a/app/locations/walk_urls.py +++ b/app/locations/walk_urls.py @@ -7,18 +7,18 @@ app_name = "walks" urlpatterns = [ path( r'<str:slug>', - views.WalkDetail.as_view(), - name="walk-detail" + views.TrackDetail.as_view(), + name="track-detail" ), re_path( r'^(?P<page>\d+)/$', - views.WalkList.as_view(), - name="walk-list" + views.TrackList.as_view(), + name="track-list" ), re_path( r'', - views.WalkList.as_view(), + views.TrackList.as_view(), {'page':1}, - name="walk-list" + name="track-list" ), ] |