This link has been bookmarked by 14 people . It was first bookmarked on 01 Oct 2007, by someone privately.
-
28 Aug 08
Mike KossDjango's philosophy for the template language is to restrict it to the needed subset - "programming" goes in Python code, and NOT inside your template files. Quoted: Django is a high-level Python Web framework that encourages rapid development and clean,
-
03 Aug 08
-
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
if you want to add to the contents of a parent block instead of
completely overriding it. Data inserted using {{ block.super }} will
not be automatically escaped (see the next section), since it was
already escaped, if necessary, in the parent template.
-
-
30 Jul 08
-
The most powerful — and thus the most complex — part of Django’s template
engine is template inheritance. -
Note that since the child template didn’t define the sidebar block, the
value from the parent template is used instead. - 1 more annotations...
-
-
When you load a custom tag or filter library, the tags/filters are only made
available to the current template — not any parent or child templates along
the template-inheritance path.
-
-
-
Richard CooperDjango is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
-
19 Jul 08
-
06 Apr 08
-
04 Mar 08
-
28 Nov 07
-
26 Nov 06
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.