1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

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
4 changed files with 4 additions and 4 deletions

View File

@@ -2618,7 +2618,7 @@ app is installed, the tag will serve files using ``url()`` method of the
storage specified by :setting:`STATICFILES_STORAGE`. For example::
{% load static %}
<img src="{% static "images/hi.jpg" %}" alt="Hi!">
<img src="{% static 'images/hi.jpg' %}" alt="Hi!">
It is also able to consume standard context variables, e.g. assuming a
``user_stylesheet`` variable is passed to the template::