Skip to content

Commit

Permalink
[1.3.X] Fixed #16273 -- Fixed typo in staticfiles docs. Thanks, Bernh…
Browse files Browse the repository at this point in the history
…ardEssl.

Backport from trunk (r16407).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jezdez committed Jun 16, 2011
1 parent eb96665 commit 25ee9b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/howto/static-files.txt
Expand Up @@ -68,7 +68,7 @@ Basic usage

.. code-block:: html+django

<img src="{{ STATIC_URL }}images/hi.jpg />
<img src="{{ STATIC_URL }}images/hi.jpg" />

See :ref:`staticfiles-in-templates` for more details, including an
alternate method using a template tag.
Expand Down Expand Up @@ -167,7 +167,7 @@ Once that's done, you can refer to :setting:`STATIC_URL` in your templates:

.. code-block:: html+django

<img src="{{ STATIC_URL }}images/hi.jpg />
<img src="{{ STATIC_URL }}images/hi.jpg" />

If ``{{ STATIC_URL }}`` isn't working in your template, you're probably not
using :class:`~django.template.RequestContext` when rendering the template.
Expand Down

0 comments on commit 25ee9b4

Please sign in to comment.