mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[5.1.x] Added missing alt attribute to <img> tag in docs.
Backport of df6013b2b4 from main.
This commit is contained in:
@@ -3110,7 +3110,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?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user