From d674d75c68c3aa65b0f9bb40c512ea8f4f657377 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 6 May 2023 11:50:00 -0400 Subject: jrnl: added a film category (repurposed friends) --- app/posts/urls/film_urls.py | 24 ++++++++++++++++++++++++ app/posts/urls/friends_urls.py | 20 ++++++++++---------- 2 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 app/posts/urls/film_urls.py (limited to 'app/posts/urls') diff --git a/app/posts/urls/film_urls.py b/app/posts/urls/film_urls.py new file mode 100644 index 0000000..872d3f4 --- /dev/null +++ b/app/posts/urls/film_urls.py @@ -0,0 +1,24 @@ +from django.urls import path, re_path + +from ..views import film_views as views + +app_name = "film" + +urlpatterns = [ + path( + r'', + views.FilmDetailView.as_view(), + name="detail" + ), + path( + r'/', + views.FilmListView.as_view(), + name="list" + ), + path( + r'', + views.FilmListView.as_view(), + {'page':1}, + name="list" + ), +] diff --git a/app/posts/urls/friends_urls.py b/app/posts/urls/friends_urls.py index b7f7608..ca68ca0 100644 --- a/app/posts/urls/friends_urls.py +++ b/app/posts/urls/friends_urls.py @@ -6,16 +6,16 @@ from ..views import friends_views as views app_name = "range" urlpatterns = [ - path( - r'feed.xml', - views.FriendsRSSFeedView(), - name="feed" - ), - path( - r'/', - views.FriendsDetailView.as_view(), - name="friends-detail" - ), + # path( + # r'feed.xml', + # views.FriendsRSSFeedView(), + # name="feed" + # ), + # path( + # r'/', + # views.FriendsDetailView.as_view(), + # name="friends-detail" + # ), path( r'', views.FriendsListView.as_view(), -- cgit v1.2.3-70-g09d2