change app order to overwrite templates
This commit is contained in:
parent
6d44e8e1c2
commit
4fbb61ff5b
|
@ -38,11 +38,12 @@ INSTALLED_APPS = [
|
|||
'braces',
|
||||
'django_extensions',
|
||||
'markdownx',
|
||||
'photologue',
|
||||
'sortedm2m',
|
||||
|
||||
'camp',
|
||||
'content',
|
||||
|
||||
'photologue',
|
||||
]
|
||||
|
||||
SITE_ID = 1
|
||||
|
|
|
@ -4,10 +4,9 @@
|
|||
{% block title %}{{ gallery.title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="row col-lg-12">
|
||||
<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 %}
|
||||
{% for photo in gallery.public %}
|
||||
<a href="{{ photo.get_absolute_url }}">
|
||||
|
@ -17,4 +16,4 @@
|
|||
<div><a href="{% url 'photologue:gallery-list' %}" class="btn btn-default">{% trans "View all galleries" %}</a></div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
{% block content %}
|
||||
{% for gallery in object.public_galleries %}
|
||||
|
||||
<div class="row">
|
||||
<div class="medium-9 columns">
|
||||
<h5 class="page-header">From gallery {{ gallery.title }}</h5>
|
||||
|
@ -43,4 +42,4 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user