diff options
Diffstat (limited to 'app/posts/guide_urls.py')
-rw-r--r-- | app/posts/guide_urls.py | 29 |
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" - ), -] |