diff options
author | luxagraf <sng@luxagraf.net> | 2020-12-02 15:02:12 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-12-02 15:02:12 -0500 |
commit | ab8055b5cab2523d925f59c65bc38df103a26991 (patch) | |
tree | 29e4597bc0d86d658f574c0c4f0b036351a68742 /app/unused_apps/notes/urls.py | |
parent | 87f692178a6e30719c564076f00c206642f36ce6 (diff) |
deleted old apps and media
Diffstat (limited to 'app/unused_apps/notes/urls.py')
-rw-r--r-- | app/unused_apps/notes/urls.py | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/app/unused_apps/notes/urls.py b/app/unused_apps/notes/urls.py deleted file mode 100644 index 3c47c3d..0000000 --- a/app/unused_apps/notes/urls.py +++ /dev/null @@ -1,55 +0,0 @@ -from django.conf.urls import url -from django.views.generic.base import RedirectView - -from . import views - -app_name = "notes" - -urlpatterns = [ - url( - r'(?P<year>\d{4})/(?P<month>\d{2})/(?P<slug>[-\w]+).txt$', - views.NoteDetailViewTXT.as_view(), - name="detail-txt" - ), - url( - r'(?P<year>\d{4})/(?P<month>\d{2})/(?P<slug>[-\w]+)$', - views.NoteDetailView.as_view(), - name="detail" - ), - url( - r'^(?P<year>[0-9]{4})/(?P<month>[0-9]{2})/$', - views.NoteMonthArchiveView.as_view(month_format='%m'), - name="list_month" - ), - url( - r'(?P<year>\d{4})/$', - views.NoteYearArchiveView.as_view(), - name="list_year" - ), - url( - r'(?P<year>\d{4})/(?P<month>\d{2})/$', - views.date_list, - name="notes_by_month" - ), - url( - r'(?P<year>\d{4})/$', - views.date_list, - name="notes_by_year" - ), - url( - r'(?P<page>\d+)/$', - views.NoteList.as_view(), - name="list" - ), - # redirect / to /1/ for live server - url( - r'', - RedirectView.as_view(url="/field-notes/1/", permanent=False), - name="live_redirect" - ), - url( - r'^$', - views.entry_list, - name="notes_archive" - ), -] |