mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Updated {% static %} tag examples in docs to use single quotes where appropriate.
This commit is contained in:
@@ -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``.
|
||||
|
||||
Reference in New Issue
Block a user