summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-02-23 10:00:23 -0500
committerTim Graham <timograham@gmail.com>2013-02-23 10:00:23 -0500
commita61dbd62193d036d082fdad4d1af3b48ebec4fb3 (patch)
tree2fdf336a2ca424022eb760432d8e3721eff855ff /docs
parent6cb6e1128f090d5edde9918ba2ae79c1e38b65ad (diff)
Fixed #19675 - Added mention of static files to overview.
Thanks Dwight Gunning for the patch.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/overview.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/intro/overview.txt b/docs/intro/overview.txt
index 4f3cd47310..f04c6706fc 100644
--- a/docs/intro/overview.txt
+++ b/docs/intro/overview.txt
@@ -271,7 +271,8 @@ Finally, Django uses the concept of "template inheritance": That's what the
following blocks." In short, that lets you dramatically cut down on redundancy
in templates: each template has to define only what's unique to that template.
-Here's what the "base.html" template might look like:
+Here's what the "base.html" template, including the use of :doc:`static files
+</howto/static-files>`, might look like:
.. code-block:: html+django
@@ -280,7 +281,7 @@ Here's what the "base.html" template might look like:
<title>{% block title %}{% endblock %}</title>
</head>
<body>
- <img src="sitelogo.png" alt="Logo" />
+ <img src="{{ STATIC_URL }}images/sitelogo.png" alt="Logo" />
{% block content %}{% endblock %}
</body>
</html>