From 9e959e8d588d20988522200ad205e335e681c168 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 23 Feb 2013 10:35:22 -0500 Subject: [PATCH] Updated static file example in overview to use static template tag, refs #19675. Thanks jezdez for the note. --- docs/intro/overview.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/intro/overview.txt b/docs/intro/overview.txt index f04c6706fc..f80eca4b3b 100644 --- a/docs/intro/overview.txt +++ b/docs/intro/overview.txt @@ -271,17 +271,18 @@ 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, including the use of :doc:`static files +Here's what the "base.html" template, including the use of :doc:`static files `, might look like: .. code-block:: html+django + {% load static %} {% block title %}{% endblock %} - Logo + Logo {% block content %}{% endblock %}