diff options
Diffstat (limited to 'app/posts/urls/craft_urls.py')
-rw-r--r-- | app/posts/urls/craft_urls.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app/posts/urls/craft_urls.py b/app/posts/urls/craft_urls.py deleted file mode 100644 index 92f0f87..0000000 --- a/app/posts/urls/craft_urls.py +++ /dev/null @@ -1,29 +0,0 @@ -from django.urls import path, re_path - -from ..views import craft_views as views - -app_name = "craft" - -urlpatterns = [ - path( - r'<str:slug>', - views.CraftDetailView.as_view(), - name="craft-detail" - ), - path( - r'<str:slug>.txt', - views.CraftDetailViewTXT.as_view(), - name="detail-txt" - ), - path( - r'<int:page>/', - views.CraftListView.as_view(), - name="list" - ), - path( - r'', - views.CraftListView.as_view(), - {'page':1}, - name="list" - ), -] |