Enabled Embed rule inheritance from parent templates and to included templates with...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Fri, 19 Nov 2010 20:06:19 +0000 (15:06 -0500)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Fri, 19 Nov 2010 20:06:19 +0000 (15:06 -0500)
commite5b488ac6b676cbac24eb5f5717f0ad071ce2957
treea2eec6dbc8af6bb9177cc2340ccdc2e423a392a0
parent88b23340408306299605a34a7b14561737b7403d
Enabled Embed rule inheritance from parent templates and to included templates with a bit of overriding of EmbedNode methods and use of context.render_context similar to BlockNodes. Removed {% embed as <varname> %} syntax as obsolete. Added tests for {% embed %} tags in various situations.
templatetags/embed.py
tests.py