diff options
author | luxagraf <sng@luxagraf.net> | 2020-08-06 14:59:54 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-08-06 14:59:54 -0400 |
commit | 9033041ac16c51c943e593e2a67420ea20b6d3a5 (patch) | |
tree | ae94fcb82701cadacade32cf1008d6c83b64809e /app/fieldnotes/urls.py | |
parent | 1c8542bba4404932c621af0d9d93813218340af1 (diff) |
Made Field notes top level and included photos in archive list
Diffstat (limited to 'app/fieldnotes/urls.py')
-rw-r--r-- | app/fieldnotes/urls.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/fieldnotes/urls.py b/app/fieldnotes/urls.py index 85ee710..52fb6fe 100644 --- a/app/fieldnotes/urls.py +++ b/app/fieldnotes/urls.py @@ -5,11 +5,6 @@ from . import views app_name = "field notes" urlpatterns = [ - re_path( - r'(?P<year>[0-9]{4})/$', - views.FieldNoteYearArchiveView.as_view(), - name="list_year" - ), path( r'', views.FieldNoteListView.as_view(), @@ -36,4 +31,9 @@ urlpatterns = [ views.FieldNoteMonthArchiveView.as_view(month_format='%m'), name="list_month" ), + re_path( + r'(?P<year>[0-9]{4})/$', + views.FieldNoteYearArchiveView.as_view(), + name="list_year" + ), ] |