Ticket #16273: static-files.txt.diff
File static-files.txt.diff, 780 bytes (added by , 13 years ago) |
---|
-
docs/howto/static-files.txt
68 68 69 69 .. code-block:: html+django 70 70 71 <img src="{{ STATIC_URL }}images/hi.jpg />71 <img src="{{ STATIC_URL }}images/hi.jpg" /> 72 72 73 73 See :ref:`staticfiles-in-templates` for more details, including an 74 74 alternate method using a template tag. … … 167 167 168 168 .. code-block:: html+django 169 169 170 <img src="{{ STATIC_URL }}images/hi.jpg />170 <img src="{{ STATIC_URL }}images/hi.jpg" /> 171 171 172 172 If ``{{ STATIC_URL }}`` isn't working in your template, you're probably not 173 173 using :class:`~django.template.RequestContext` when rendering the template.