summaryrefslogtreecommitdiff
path: root/config/base_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/base_urls.py')
-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 a7b8d04..a22d203 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -3,6 +3,7 @@ from django.contrib import admin
from django.conf.urls.static import static
from django.conf import settings
from django.contrib.sitemaps.views import sitemap
+from django.views.generic.base import RedirectView
from pages.views import PageDetailView
from jrnl.models import BlogSitemap
@@ -46,13 +47,17 @@ urlpatterns = [
path(r'locations/', include('locations.urls')),
path(r'expenses/', include('expenses.urls', namespace='expenses')),
path(r'photos/', include('photos.urls')),
+ path(r'guide/', include('guides.guide_urls')),
+ re_path(r'^guide/$', RedirectView.as_view(url='/guides/')),
+ path(r'guides/', include('guides.urls')),
+ path(r'review/', include('guides.review_urls')),
+ re_path(r'^review/$', RedirectView.as_view(url='/guides/')),
path(r'guides/', include('guides.urls')),
path(r'book-notes/', include('books.urls')),
path(r'people/', include('people.urls')),
path(r'dialogues/', include('sightings.urls', namespace='sightings')),
path(r'field-notes/', include('fieldnotes.urls', namespace='fieldnotes')),
path(r'src/', include('src.urls', namespace='src')),
- path(r'tools/', include('essays.urls', namespace='tools')),
path(r'essays/', include('essays.urls', namespace='essays')),
path(r'work/', include('resume.urls', namespace='resume')),
path(r'map', include('locations.urls', namespace='map')),