summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2020-12-20 13:52:56 -0500
committerlxf <sng@luxagraf.net>2020-12-20 13:52:56 -0500
commit4b3f15e68a5601c350cc605794eea20050e863fa (patch)
treeb766ccab3724330201453dccfaa6f8abcb468ea4 /config
parentea2a62f8e83808904ef58659fc4a52c9a5e98e0e (diff)
fixed some things with guides
Diffstat (limited to 'config')
-rw-r--r--config/base_urls.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index e3cfa78..2260016 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -48,7 +48,12 @@ urlpatterns = [
path(r'locations/', include('locations.urls')),
#path(r'expenses/', include('expenses.urls', namespace='expenses')),
path(r'photos/', include('media.urls')),
- path(r'guide/', include('posts.urls.guide_urls', namespace='guide')),
+ path(r'review/', include('posts.urls.review_urls')),
+ re_path(r'^review/$', RedirectView.as_view(url='/reviews/')),
+ path(r'reviews/', include('posts.urls.review_urls', namespace='review-list')),
+ path(r'guide/', include('posts.urls.guide_urls')),
+ re_path(r'^guide/$', RedirectView.as_view(url='/guides/')),
+ path(r'guides/', include('posts.urls.guide_urls', namespace='guide-list')),
path(r'essay/', include('posts.urls.essay_urls')),
re_path(r'^essay/$', RedirectView.as_view(url='/essays/')),
path(r'essays/', include('posts.urls.essay_urls', namespace='essay-list')),