summaryrefslogtreecommitdiff
path: root/app/guides/guide_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/guides/guide_urls.py')
-rw-r--r--app/guides/guide_urls.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/guides/guide_urls.py b/app/guides/guide_urls.py
new file mode 100644
index 0000000..ad67061
--- /dev/null
+++ b/app/guides/guide_urls.py
@@ -0,0 +1,18 @@
+from django.urls import path, re_path
+
+from . import views
+
+app_name = "guide"
+
+urlpatterns = [
+ path(
+ r'<str:slug>',
+ views.GuideDetailView.as_view(),
+ name="guide-detail"
+ ),
+ path(
+ r'<str:slug>.txt',
+ views.GuideDetailViewTXT.as_view(),
+ name="guide-detail-txt"
+ ),
+]