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:
parent
60dc9c288c
commit
8efba53397
@ -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?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user