summaryrefslogtreecommitdiff
path: root/app/unused_apps/fieldnotes/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/unused_apps/fieldnotes/urls.py')
-rw-r--r--app/unused_apps/fieldnotes/urls.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/app/unused_apps/fieldnotes/urls.py b/app/unused_apps/fieldnotes/urls.py
deleted file mode 100644
index 85ee710..0000000
--- a/app/unused_apps/fieldnotes/urls.py
+++ /dev/null
@@ -1,39 +0,0 @@
-from django.urls import path, re_path
-
-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(),
- {'page': 1},
- name="list"
- ),
- path(
- r'<int:page>/',
- views.FieldNoteListView.as_view(),
- name="list"
- ),
- path(
- r'<int:year>/<int:month>/<str:slug>.txt',
- views.FieldNoteDetailViewTXT.as_view(),
- name="detail-txt"
- ),
- path(
- r'<int:year>/<int:month>/<str:slug>',
- views.FieldNoteDetailView.as_view(),
- name="detail"
- ),
- path(
- r'<int:year>/<int:month>/',
- views.FieldNoteMonthArchiveView.as_view(month_format='%m'),
- name="list_month"
- ),
-]