mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Update index.rst
Typo fix for field access in template.
This commit is contained in:
parent
5de44eafb1
commit
4899d1ce5c
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ When used in a template you probably need to use:
|
|||
{% load static %}
|
||||
|
||||
{% get_media_prefix as MEDIA_URL %}
|
||||
<img src="{{ MEDIA_URL }}{{ constance.LOGO_IMAGE }}">
|
||||
<img src="{{ MEDIA_URL }}{{ config.LOGO_IMAGE }}">
|
||||
|
||||
Images are uploaded to MEDIA_ROOT.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue