From 4fec1159612fad17a7385ba8aadc4a4b165d5aa9 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 7 Oct 2019 15:27:00 -0400 Subject: added new posts stuff and changed name of src posts --- app/unused_apps/guides/urls.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app/unused_apps/guides/urls.py (limited to 'app/unused_apps/guides/urls.py') diff --git a/app/unused_apps/guides/urls.py b/app/unused_apps/guides/urls.py new file mode 100644 index 0000000..c91a5b5 --- /dev/null +++ b/app/unused_apps/guides/urls.py @@ -0,0 +1,34 @@ +from django.urls import path, re_path + +from . import views + +app_name = "guides" + +urlpatterns = [ + path( + r'', + views.GuideListView.as_view(), + {'page': 1}, + name="list" + ), + path( + r'/', + views.GuideListView.as_view(), + name="list" + ), + path( + r'/', + views.GuideDetailView.as_view(), + name="detail" + ), + path( + r'/', + views.GuideDetailViewTXT.as_view(), + name="detail-txt" + ), + path( + r'', + views.GuideCatListView.as_view(), + name="list-cat" + ), +] -- cgit v1.2.3-70-g09d2