summaryrefslogtreecommitdiff
path: root/app/sightings/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/sightings/urls.py')
-rw-r--r--app/sightings/urls.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/app/sightings/urls.py b/app/sightings/urls.py
index 76a952e..7aa6ace 100644
--- a/app/sightings/urls.py
+++ b/app/sightings/urls.py
@@ -5,12 +5,17 @@ app_name = "sightings"
urlpatterns = [
path(
- r'',
+ r'',
views.SightingListView.as_view(),
- {'page':1},
+ {'page': 1},
name="list"
),
re_path(
+ r'life-list$',
+ views.LifeListView.as_view(),
+ name='life-list'
+ ),
+ re_path(
r'(?P<page>\d+)/$',
views.SightingListView.as_view(),
name="list"
@@ -20,15 +25,15 @@ urlpatterns = [
views.SightingDetailView.as_view(),
name='detail'
),
- #path(
- # r'<str:user>/',
+ # path(
+ # r'<str:user>/',
# views.SightingListUserView.as_view(),
# {'page':1},
# name='list_by_person'
- #),
- #path(
+ # ),
+ # path(
# r'<str:user>/<int:page>/',
# views.SightingListUserView.as_view(),
# name='list_by_person'
- #),
+ # ),
]