summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/templates.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/templates.txt b/docs/templates.txt
index 636132a5aa..22c10caf15 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -210,6 +210,9 @@ is possible and, indeed, quite useful.
Here are some tips for working with inheritance:
+ * If you use ``{% extends %}`` in a template, it must be the first template
+ tag in that template.
+
* More ``{% block %}`` tags in your base templates are better. Remember,
child templates don't have to define all parent blocks, so you can fill
in reasonable defaults in a number of blocks, then only define the ones