mirror of
https://github.com/django/django.git
synced 2025-06-07 04:29:12 +00:00
[1.8.x] Fixed #24984 -- Added link to Jinja2 static tag instructions in staticfiles docs.
Backport of d62194a260eedd30aeea78f407032aabfde4be70 from master
This commit is contained in:
parent
cdae9d8cae
commit
f8140c4679
@ -371,6 +371,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…
x
Reference in New Issue
Block a user