Renamed MEDIA_URL to prevent overriding django setting

https://docs.djangoproject.com/en/1.9/ref/settings/#media-url
This commit is contained in:
Adarnof
2016-01-06 20:58:17 +00:00
parent f5bd9133fa
commit 4fa764e301
3 changed files with 4 additions and 4 deletions

View File

@@ -66,9 +66,9 @@
</a>
</p>
{% endif %}
{% if MEDIA_URL %}
{% if EXTERNAL_MEDIA_URL %}
<p style="text-align:center">
<a href="{{MEDIA_URL}}">
<a href="{{EXTERNAL_MEDIA_URL}}">
<img src="{% static 'img/index_images/media.png' %}" border="0">
</a>
</p>