diff options
Diffstat (limited to 'config/base_urls.py')
-rw-r--r-- | config/base_urls.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index 2b7d43d..93b90b7 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -45,6 +45,12 @@ urlpatterns = [ #path(r'people/', include('people.urls')), #path(r'work/', include('resume.urls', namespace='resume')), #path(r'<path>/<slug>/', PageDetailView.as_view()), + #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')), + #re_path(r'^guide/$', RedirectView.as_view(url='/guides/')), + #path(r'guides/', include('posts.urls.guide_urls', namespace='guides')), + #path(r'guide/', include('posts.urls.guide_urls')), re_path(r'^admin/build/.*', builder.views.do_build), path(r'admin/data/', include('utils.urls')), path(r'admin/', admin.site.urls), @@ -60,19 +66,13 @@ urlpatterns = [ path(r'walks/', include('locations.walk_urls')), path(r'locations/', include('locations.urls')), path(r'newsletter/', include('lttr.urls')), - path(r'photos/', include('media.urls')), - path(r'images/', include('posts.urls.photo_essay_urls', namespace='photo-essay-list')), - 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')), - re_path(r'^guide/$', RedirectView.as_view(url='/guides/')), - path(r'guides/', include('posts.urls.guide_urls', namespace='guides')), - path(r'guide/', include('posts.urls.guide_urls')), + #path(r'photos/', include('media.urls')), + path(r'photos/', include('posts.urls.photo_essay_urls', namespace='photo-essay-list')), 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')), + #path(r'range/', include('posts.urls.range_urls', namespace='range')), + #path(r'friends/', include('posts.urls.friends_urls', namespace='friends')), path(r'book-notes/', include('books.urls')), path(r'dialogues/', include('sightings.urls', namespace='sightings')), path(r'field-notes/', include('posts.urls.field_note_urls', namespace='fieldnote')), |