summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/base_urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index e684e3f..b5e0f1e 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -52,6 +52,8 @@ urlpatterns = [
path(r'film/', include('posts.urls.film_urls')),
re_path(r'^film/$', RedirectView.as_view(url='/films/')),
path(r'films/', include('posts.urls.film_urls', namespace='films')),
+ re_path(r'^trip/$', RedirectView.as_view(url='/trips/')),
+ path(r'trip/', include('posts.urls.trip_urls')),
path(r'trips/', include('posts.urls.trip_urls', namespace='trips')),
#path(r'review/', include('posts.urls.review_urls')),
#re_path(r'^review/$', RedirectView.as_view(url='/reviews/')),
@@ -59,8 +61,8 @@ urlpatterns = [
#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'essay/', include('posts.urls.essay_urls')),
path(r'essays/', include('posts.urls.essay_urls', namespace='essay-list')),
path(r'range/', include('posts.urls.range_urls', namespace='range')),
path(r'friends/', include('posts.urls.friends_urls', namespace='friends')),