summaryrefslogtreecommitdiff
path: root/config/base_urls.py
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2025-05-31 11:37:22 -0500
committerlxf <sng@luxagraf.net>2025-05-31 11:37:22 -0500
commite2b3a335e3984931f1343cb6be8db53a8a1304ab (patch)
tree4c31dcb9e55487858dbb939f3fc53afd153eeb5c /config/base_urls.py
parente0bd735f74c327f1c6f0abccc431b35a270fb8eb (diff)
condensed everything into jrnl. need to clean up
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