summaryrefslogtreecommitdiff
path: root/app/unused_apps/src/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-08-15 11:58:34 -0400
committerluxagraf <sng@luxagraf.net>2020-08-15 11:58:34 -0400
commitb66d000ee469539ce7aea557b612c0444177e36d (patch)
tree273547921dc6f9ded2a5681b82514c68e28ba448 /app/unused_apps/src/urls.py
parentd3e57c1bd17ad3e71810235a672d4782136901a5 (diff)
archived old unused apps and migrated fieldnotes to posts
Diffstat (limited to 'app/unused_apps/src/urls.py')
-rw-r--r--app/unused_apps/src/urls.py49
1 files changed, 49 insertions, 0 deletions
diff --git a/app/unused_apps/src/urls.py b/app/unused_apps/src/urls.py
new file mode 100644
index 0000000..0ac6897
--- /dev/null
+++ b/app/unused_apps/src/urls.py
@@ -0,0 +1,49 @@
+from django.urls import path, re_path
+
+from . import views
+
+app_name = "src"
+
+urlpatterns = [
+ path(
+ r'feed.xml',
+ views.SrcRSSFeedView(),
+ name="feed"
+ ),
+ path(
+ r'topic/<str:slug>',
+ views.TopicListView.as_view(),
+ name="list_topics"
+ ),
+ path(
+ r'books/<str:slug>',
+ views.BookDetailView.as_view(),
+ name='detail_book'
+ ),
+ path(
+ r'books/',
+ views.BookListView.as_view(),
+ name='list_books'
+ ),
+ path(
+ r'<str:slug>.txt',
+ views.EntryDetailViewTXT.as_view(),
+ name="detail-txt"
+ ),
+ path(
+ r'<str:slug>',
+ views.EntryDetailView.as_view(),
+ name="detail"
+ ),
+ re_path(
+ r'<int:page>',
+ views.SrcListView.as_view(),
+ name="list"
+ ),
+ path(
+ r'',
+ views.SrcListView.as_view(),
+ {'page':1},
+ name="list"
+ ),
+]