summaryrefslogtreecommitdiff
path: root/app/posts/urls
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/urls')
-rw-r--r--app/posts/urls/essay_urls.py6
-rw-r--r--app/posts/urls/range_urls.py5
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},