瀏覽代碼

Fixed #24984 -- Added link to Jinja2 static tag instructions in staticfiles docs.

Chris McCollister 9 年之前
父節點
當前提交
d62194a260
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      docs/ref/contrib/staticfiles.txt

+ 5 - 0
docs/ref/contrib/staticfiles.txt

@@ -358,6 +358,11 @@ slightly different call:
     {% static "images/hi.jpg" as myphoto %}
     <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
 ==============