Updated {% static %} tag examples in docs to use single quotes where appropriate.

This commit is contained in:
Nikita Sobolev 2020-11-02 12:34:24 +03:00 committed by GitHub
parent c8785b473f
commit 42f3fafdfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ Configuring static files
.. code-block:: html+django
{% load static %}
<img src="{% static "my_app/example.jpg" %}" alt="My image">
<img src="{% static 'my_app/example.jpg' %}" alt="My image">
#. Store your static files in a folder called ``static`` in your app. For
example ``my_app/static/my_app/example.jpg``.