mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Added missing alt attribute to <img> tag in docs.
This commit is contained in:
parent
bcb91611ec
commit
df6013b2b4
@ -3100,7 +3100,7 @@ slightly different call:
|
|||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% static "images/hi.jpg" as myphoto %}
|
{% static "images/hi.jpg" as myphoto %}
|
||||||
<img src="{{ myphoto }}">
|
<img src="{{ myphoto }}" alt="Hi!">
|
||||||
|
|
||||||
.. admonition:: Using Jinja2 templates?
|
.. admonition:: Using Jinja2 templates?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user