diff options
author | luxagraf <sng@luxagraf.net> | 2019-09-18 21:14:38 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-09-18 21:14:38 -0400 |
commit | 5bc22c064fbc51987007d85fbc8296a998cf6e84 (patch) | |
tree | 7d961ff86c478171ffee14168e9ae3f9d09f1ca5 /config | |
parent | 9e7aadbcf9bab0ecfcd4afc96f6a09f9fe11a197 (diff) |
added posts, consolidated essays into posts
Diffstat (limited to 'config')
-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')), |