diff options
author | luxagraf <sng@luxagraf.net> | 2024-03-10 09:31:05 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-03-10 09:31:05 -0500 |
commit | 21795671955fb4d675b740bba73b4d4f90d37739 (patch) | |
tree | 04e4ea4c05e2512876916669854b1ef5aa4f6e7c /app/posts/urls | |
parent | e491ff1a198303d36abc2dbd2b7e7a9760542d8c (diff) |
posts: added template option for photo posts, got rid of some things
Diffstat (limited to 'app/posts/urls')
-rw-r--r-- | app/posts/urls/essay_urls.py | 6 | ||||
-rw-r--r-- | app/posts/urls/range_urls.py | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/app/posts/urls/essay_urls.py b/app/posts/urls/essay_urls.py index 90a087c..197e72c 100644 --- a/app/posts/urls/essay_urls.py +++ b/app/posts/urls/essay_urls.py @@ -6,14 +6,14 @@ app_name = "essays" urlpatterns = [ path( - r'<str:topic>/<int:page>/', + r'<str:topic>/', views.EssayCategoryList.as_view(), + {'page':1}, name="category-detail" ), path( - r'<str:topic>/', + r'<str:topic>/<int:page>/', views.EssayCategoryList.as_view(), - {'page':1}, name="category-detail" ), path( diff --git a/app/posts/urls/range_urls.py b/app/posts/urls/range_urls.py index 57d72a7..65638ce 100644 --- a/app/posts/urls/range_urls.py +++ b/app/posts/urls/range_urls.py @@ -7,11 +7,6 @@ app_name = "range" urlpatterns = [ path( - r'feed.xml', - views.RangeRSSFeedView(), - name="feed" - ), - path( r'', views.RangeListView.as_view(), {'page':1}, |