Update index.rst

Typo fix for field access in template.
This commit is contained in:
Amit Garu 2022-04-24 12:08:50 +05:45 committed by GitHub
parent 5de44eafb1
commit 4899d1ce5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.