summaryrefslogtreecommitdiff
path: root/app/posts/guide_urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-08-06 15:08:24 -0400
committerluxagraf <sng@luxagraf.net>2020-08-06 15:08:24 -0400
commit5a29df9e2ab7c0d80296907fcb61dccfff1fd008 (patch)
tree958685bfdc3c8414c9ea44bd5f3325c9b187635f /app/posts/guide_urls.py
parent9033041ac16c51c943e593e2a67420ea20b6d3a5 (diff)
Migrated Src into posts
Diffstat (limited to 'app/posts/guide_urls.py')
-rw-r--r--app/posts/guide_urls.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/posts/guide_urls.py b/app/posts/guide_urls.py
deleted file mode 100644
index d43d76a..0000000
--- a/app/posts/guide_urls.py
+++ /dev/null
@@ -1,29 +0,0 @@
-from django.urls import path, re_path
-
-from . import views
-
-app_name = "guides"
-
-urlpatterns = [
- path(
- r'<str:slug>',
- views.PostDetailView.as_view(),
- name="detail"
- ),
- path(
- r'<str:slug>.txt',
- views.PostDetailViewTXT.as_view(),
- name="detail-txt"
- ),
- path(
- r'<int:page>/',
- views.GuidesListView.as_view(),
- name="list"
- ),
- path(
- r'',
- views.GuidesListView.as_view(),
- {'page':1},
- name="list"
- ),
-]