From 4fbb61ff5b3de372b147705e4d0698349eb344c4 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Dec 2017 18:30:20 +0000 Subject: [PATCH] change app order to overwrite templates --- camp/settings.py | 3 ++- content/templates/photologue/gallery_detail.html | 5 ++--- content/templates/photologue/photo_detail.html | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/camp/settings.py b/camp/settings.py index 62bff99..e840f6c 100644 --- a/camp/settings.py +++ b/camp/settings.py @@ -38,11 +38,12 @@ INSTALLED_APPS = [ 'braces', 'django_extensions', 'markdownx', - 'photologue', 'sortedm2m', 'camp', 'content', + + 'photologue', ] SITE_ID = 1 diff --git a/content/templates/photologue/gallery_detail.html b/content/templates/photologue/gallery_detail.html index e28cb2f..c1d8368 100644 --- a/content/templates/photologue/gallery_detail.html +++ b/content/templates/photologue/gallery_detail.html @@ -4,10 +4,9 @@ {% block title %}{{ gallery.title }}{% endblock %} {% block content %} -

{{ gallery.title }}

-

{% trans "Published" %} {{ gallery.date_added }}WHYYYYYY

+

{% trans "Published" %} {{ gallery.date_added }}

{% if gallery.description %}{{ gallery.description|safe }}{% endif %} {% for photo in gallery.public %} @@ -17,4 +16,4 @@
{% trans "View all galleries" %}
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/content/templates/photologue/photo_detail.html b/content/templates/photologue/photo_detail.html index 75d8bd0..40de8ff 100644 --- a/content/templates/photologue/photo_detail.html +++ b/content/templates/photologue/photo_detail.html @@ -5,7 +5,6 @@ {% block content %} {% for gallery in object.public_galleries %} -
@@ -43,4 +42,4 @@
-{% endblock %} \ No newline at end of file +{% endblock %}