1
0
mirror of https://github.com/django/django.git synced 2025-04-21 15:54:37 +00:00

[5.1.x] Added missing alt attribute to <img> tag in docs.

Backport of df6013b2b4e93ed6d127c2f572e6de0ba46d1d6a 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 %}
{% static "images/hi.jpg" as myphoto %}
<img src="{{ myphoto }}">
<img src="{{ myphoto }}" alt="Hi!">
.. admonition:: Using Jinja2 templates?