Browse files

Added note to docs/templates.txt about {% extends %} needing to be th…

…e first tag in the template. Thanks, Chris Chamberlin

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Apr 11, 2006
1 parent 30c72fa commit f2aa710f134b2d15cf30df18720f0fc47c14d65b
Showing with 3 additions and 0 deletions.
  1. +3 −0 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

0 comments on commit f2aa710

Please sign in to comment.