summaryrefslogtreecommitdiff
path: root/app/unused_apps/essays/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-10-07 15:27:00 -0400
committerluxagraf <sng@luxagraf.net>2019-10-07 15:27:00 -0400
commit4fec1159612fad17a7385ba8aadc4a4b165d5aa9 (patch)
treed413ea25e7c09efb29c4e80b8ffb3ca7c229a514 /app/unused_apps/essays/urls.py
parent9cdfb6ec377fa534c1203c1af46662c2a1ff6f61 (diff)
added new posts stuff and changed name of src posts
Diffstat (limited to 'app/unused_apps/essays/urls.py')
-rw-r--r--app/unused_apps/essays/urls.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/unused_apps/essays/urls.py b/app/unused_apps/essays/urls.py
new file mode 100644
index 0000000..8216f06
--- /dev/null
+++ b/app/unused_apps/essays/urls.py
@@ -0,0 +1,28 @@
+from django.urls import path, re_path
+
+from . import views
+
+app_name = "essays"
+
+urlpatterns = [
+ #path(
+ # r'topic/<str:slug>',
+ # views.TopicListView.as_view(),
+ # name="list_topics"
+ #),
+ path(
+ r'<str:slug>',
+ views.EntryDetailView.as_view(),
+ name="detail"
+ ),
+ path(
+ r'<str:slug>',
+ views.EntryDetailViewTXT.as_view(),
+ name="detail-txt"
+ ),
+ path(
+ r'',
+ views.EssayListView.as_view(),
+ name="list",
+ ),
+]