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.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/sightings/urls.py b/app/sightings/urls.py
index 7aa6ace..5cb9275 100644
--- a/app/sightings/urls.py
+++ b/app/sightings/urls.py
@@ -10,6 +10,11 @@ urlpatterns = [
{'page': 1},
name="list"
),
+ path(
+ r'life-list/<int:year>',
+ views.YearListView.as_view(),
+ name='list-by-year'
+ ),
re_path(
r'life-list$',
views.LifeListView.as_view(),