diff options
author | luxagraf <sng@luxagraf.net> | 2023-05-06 11:50:00 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-05-06 11:51:38 -0400 |
commit | d674d75c68c3aa65b0f9bb40c512ea8f4f657377 (patch) | |
tree | 504bfe2acccaad39adf16d9a7e541c12a5ffccfe /app/posts/urls | |
parent | d6681ccdb385473f11fdd915e4ba61ef9c81f678 (diff) |
jrnl: added a film category (repurposed friends)
Diffstat (limited to 'app/posts/urls')
-rw-r--r-- | app/posts/urls/film_urls.py | 24 | ||||
-rw-r--r-- | app/posts/urls/friends_urls.py | 20 |
2 files changed, 34 insertions, 10 deletions
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'<str:slug>', + views.FilmDetailView.as_view(), + name="detail" + ), + path( + r'<int:page>/', + 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'<int:issue>/<str:slug>', - views.FriendsDetailView.as_view(), - name="friends-detail" - ), + # path( + # r'feed.xml', + # views.FriendsRSSFeedView(), + # name="feed" + # ), + # path( + # r'<int:issue>/<str:slug>', + # views.FriendsDetailView.as_view(), + # name="friends-detail" + # ), path( r'', views.FriendsListView.as_view(), |