diff options
Diffstat (limited to 'config/base_urls.py')
-rw-r--r-- | config/base_urls.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index a22d203..11c1087 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -47,18 +47,20 @@ 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')), + path(r'guide/', include('posts.guide_urls')), re_path(r'^guide/$', RedirectView.as_view(url='/guides/')), - path(r'guides/', include('guides.urls')), - path(r'review/', include('guides.review_urls')), + path(r'guides/', include('posts.guide_urls', namespace='guide-list')), + path(r'review/', include('posts.review_urls')), re_path(r'^review/$', RedirectView.as_view(url='/guides/')), - path(r'guides/', include('guides.urls')), + path(r'essay/', include('posts.essay_urls')), + re_path(r'^essay/$', RedirectView.as_view(url='/essays/')), + path(r'essays/', include('posts.essay_urls', namespace='essay-list')), 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'essays/', include('essays.urls', namespace='essays')), + #path(r'essays/', include('essays.urls', namespace='essays')), path(r'work/', include('resume.urls', namespace='resume')), path(r'map', include('locations.urls', namespace='map')), path(r'map/', include('locations.urls', namespace='map')), |