summaryrefslogtreecommitdiff
path: root/app/unused_apps/guides/review_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/guides/review_urls.py
parent9cdfb6ec377fa534c1203c1af46662c2a1ff6f61 (diff)
added new posts stuff and changed name of src posts
Diffstat (limited to 'app/unused_apps/guides/review_urls.py')
-rw-r--r--app/unused_apps/guides/review_urls.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/unused_apps/guides/review_urls.py b/app/unused_apps/guides/review_urls.py
new file mode 100644
index 0000000..7048065
--- /dev/null
+++ b/app/unused_apps/guides/review_urls.py
@@ -0,0 +1,18 @@
+from django.urls import path, re_path
+
+from . import views
+
+app_name = "review"
+
+urlpatterns = [
+ path(
+ r'<str:slug>',
+ views.GuideDetailView.as_view(),
+ name="review-detail"
+ ),
+ path(
+ r'<str:slug>.txt',
+ views.GuideDetailViewTXT.as_view(),
+ name="review-detail-txt"
+ ),
+]