summaryrefslogtreecommitdiff
path: root/app/posts/urls/essay_urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-03-10 09:31:05 -0500
committerluxagraf <sng@luxagraf.net>2024-03-10 09:31:05 -0500
commit21795671955fb4d675b740bba73b4d4f90d37739 (patch)
tree04e4ea4c05e2512876916669854b1ef5aa4f6e7c /app/posts/urls/essay_urls.py
parente491ff1a198303d36abc2dbd2b7e7a9760542d8c (diff)
posts: added template option for photo posts, got rid of some things
Diffstat (limited to 'app/posts/urls/essay_urls.py')
-rw-r--r--app/posts/urls/essay_urls.py6
1 files changed, 3 insertions, 3 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(