Fixed small indentation error in [73]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@74 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6b68559c9a
commit
7fcae93850
|
@ -194,7 +194,7 @@ Here are some tips for working with inheritance:
|
||||||
for the entire site, a set of mid-level templates for each section of
|
for the entire site, a set of mid-level templates for each section of
|
||||||
the site, and then the individual templates for each page. This
|
the site, and then the individual templates for each page. This
|
||||||
maximizes code reuse, and makes it easier to add items to shared
|
maximizes code reuse, and makes it easier to add items to shared
|
||||||
content areas (like section-wide navigation).
|
content areas (like section-wide navigation).
|
||||||
|
|
||||||
* If you need to get the content of the block from the parent template,
|
* If you need to get the content of the block from the parent template,
|
||||||
the ``{{ block.super }}`` variable will do the trick. This is useful
|
the ``{{ block.super }}`` variable will do the trick. This is useful
|
||||||
|
|
Loading…
Reference in New Issue