1
0
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:
ssanger
2024-10-18 18:18:43 -07:00
committed by Sarah Boyce
parent 60dc9c288c
commit 8efba53397

View File

@@ -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?