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.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index ad79987..ce0b577 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -67,7 +67,7 @@ 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'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')),
@@ -85,14 +85,3 @@ urlpatterns = [
path(r'<slug>.txt', PageDetailTXTView.as_view()),
path(r'<slug>', include('pages.urls', namespace='pages')),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
-
-
-if settings.DEBUG:
- import debug_toolbar
- urlpatterns = [
- path('__debug__/', include(debug_toolbar.urls)),
-
- # For django versions before 2.0:
- # url(r'^__debug__/', include(debug_toolbar.urls)),
-
- ] + urlpatterns