mirror of
https://github.com/django/django.git
synced 2025-11-03 13:23:19 +00:00
Fixed #24984 -- Added link to Jinja2 static tag instructions in staticfiles docs.
This commit is contained in:
parent
f576b23a65
commit
d62194a260
1 changed files with 5 additions and 0 deletions
|
|
@ -358,6 +358,11 @@ slightly different call:
|
||||||
{% static "images/hi.jpg" as myphoto %}
|
{% static "images/hi.jpg" as myphoto %}
|
||||||
<img src="{{ myphoto }}" alt="Hi!" />
|
<img src="{{ myphoto }}" alt="Hi!" />
|
||||||
|
|
||||||
|
.. admonition:: Using Jinja2 templates?
|
||||||
|
|
||||||
|
See :class:`django.template.backends.jinja2.Jinja2` for information on
|
||||||
|
using the ``static`` tag with Jinja2.
|
||||||
|
|
||||||
Finders Module
|
Finders Module
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue