From 6a3e63a2fff0adc264f7b7fddbfb085c9cf12634 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 25 Mar 2025 14:04:04 +0000 Subject: [PATCH] remove outdated app-namespaces --- camp/settings.py | 1 - content/templates/photologue/gallery_detail.html | 4 ++-- content/templates/photologue/photo_detail.html | 4 ++-- requirements.txt | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/camp/settings.py b/camp/settings.py index 734d4e4..6007f4c 100644 --- a/camp/settings.py +++ b/camp/settings.py @@ -76,7 +76,6 @@ TEMPLATES = [ 'django.template.context_processors.media', ], 'loaders': [ - 'app_namespace.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ], diff --git a/content/templates/photologue/gallery_detail.html b/content/templates/photologue/gallery_detail.html index 1e5dafe..dfaad96 100644 --- a/content/templates/photologue/gallery_detail.html +++ b/content/templates/photologue/gallery_detail.html @@ -1,4 +1,4 @@ -{% extends "photologue:photologue/gallery_detail.html" %} +{% extends "photologue/gallery_detail.html" %} {% load i18n %} {% block title %}{{ gallery.title }}{% endblock %} @@ -17,7 +17,7 @@

{{ photo.caption|safe }} {% if photo.caption %}
{%endif%} - Link to original file + {% if request.user.is_staff %}Link to original file{% endif %}

diff --git a/content/templates/photologue/photo_detail.html b/content/templates/photologue/photo_detail.html index 5ee5337..416920b 100644 --- a/content/templates/photologue/photo_detail.html +++ b/content/templates/photologue/photo_detail.html @@ -1,4 +1,4 @@ -{% extends "photologue:photologue/photo_detail.html" %} +{% extends "photologue/photo_detail.html" %} {% load photologue_tags i18n %} {% block title %}{{ object.title }}{% endblock %} @@ -10,7 +10,7 @@

{{ object.caption|safe }} {% if object.caption %}
{%endif%} - Link to original file + {% if request.user.is_staff %}Link to original file{% endif %}