diff options
Diffstat (limited to 'app/posts/urls')
-rw-r--r-- | app/posts/urls/craft_urls.py (renamed from app/posts/urls/guide_urls_old.py) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/posts/urls/guide_urls_old.py b/app/posts/urls/craft_urls.py index d43d76a..92f0f87 100644 --- a/app/posts/urls/guide_urls_old.py +++ b/app/posts/urls/craft_urls.py @@ -1,28 +1,28 @@ from django.urls import path, re_path -from . import views +from ..views import craft_views as views -app_name = "guides" +app_name = "craft" urlpatterns = [ path( r'<str:slug>', - views.PostDetailView.as_view(), - name="detail" + views.CraftDetailView.as_view(), + name="craft-detail" ), path( r'<str:slug>.txt', - views.PostDetailViewTXT.as_view(), + views.CraftDetailViewTXT.as_view(), name="detail-txt" ), path( r'<int:page>/', - views.GuidesListView.as_view(), + views.CraftListView.as_view(), name="list" ), path( r'', - views.GuidesListView.as_view(), + views.CraftListView.as_view(), {'page':1}, name="list" ), |