diff options
author | lxf <sng@luxagraf.net> | 2019-09-14 15:06:05 +0000 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2019-09-14 15:06:05 +0000 |
commit | 9e7aadbcf9bab0ecfcd4afc96f6a09f9fe11a197 (patch) | |
tree | ba056544401660a4206b26f177d0356e324e8f65 /config | |
parent | af7472b6e198c25baded825cd33df7d2782f461a (diff) | |
parent | e4dca5792a9ef843ae5a1f35a8166551747f33f2 (diff) |
Merge branch 'master' of ssh://luxgit/luxagraf/luxagraf.net
Diffstat (limited to 'config')
-rw-r--r-- | config/base_urls.py | 7 |
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')), |