Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f2aa710f134b2d15cf30df18720f0fc47c14d65b 1 parent 30c72fa
Adrian Holovaty authored April 11, 2006

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  docs/templates.txt
3  docs/templates.txt
@@ -210,6 +210,9 @@ is possible and, indeed, quite useful.
210 210
 
211 211
 Here are some tips for working with inheritance:
212 212
 
  213
+    * If you use ``{% extends %}`` in a template, it must be the first template
  214
+      tag in that template.
  215
+
213 216
     * More ``{% block %}`` tags in your base templates are better. Remember,
214 217
       child templates don't have to define all parent blocks, so you can fill
215 218
       in reasonable defaults in a number of blocks, then only define the ones

0 notes on commit f2aa710

Please sign in to comment.
Something went wrong with that request. Please try again.