change app order to overwrite templates

This commit is contained in:
root 2017-12-19 18:30:20 +00:00
parent 6d44e8e1c2
commit 4fbb61ff5b
3 changed files with 5 additions and 6 deletions

View File

@ -38,11 +38,12 @@ INSTALLED_APPS = [
'braces', 'braces',
'django_extensions', 'django_extensions',
'markdownx', 'markdownx',
'photologue',
'sortedm2m', 'sortedm2m',
'camp', 'camp',
'content', 'content',
'photologue',
] ]
SITE_ID = 1 SITE_ID = 1

View File

@ -4,10 +4,9 @@
{% block title %}{{ gallery.title }}{% endblock %} {% block title %}{{ gallery.title }}{% endblock %}
{% block content %} {% block content %}
<div class="row col-lg-12"> <div class="row col-lg-12">
<h1 class="page-header">{{ gallery.title }}</h1> <h1 class="page-header">{{ gallery.title }}</h1>
<p class="muted"><small>{% trans "Published" %} {{ gallery.date_added }}</small>WHYYYYYY</p> <p class="muted"><small>{% trans "Published" %} {{ gallery.date_added }}</small></p>
{% if gallery.description %}{{ gallery.description|safe }}{% endif %} {% if gallery.description %}{{ gallery.description|safe }}{% endif %}
{% for photo in gallery.public %} {% for photo in gallery.public %}
<a href="{{ photo.get_absolute_url }}"> <a href="{{ photo.get_absolute_url }}">

View File

@ -5,7 +5,6 @@
{% block content %} {% block content %}
{% for gallery in object.public_galleries %} {% for gallery in object.public_galleries %}
<div class="row"> <div class="row">
<div class="medium-9 columns"> <div class="medium-9 columns">
<h5 class="page-header">From gallery {{ gallery.title }}</h5> <h5 class="page-header">From gallery {{ gallery.title }}</h5>