Initial embed commit. Implements TemplateField and EmbedField - model fields that...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 27 Sep 2010 17:43:32 +0000 (13:43 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 4 Oct 2010 14:46:05 +0000 (10:46 -0400)
commit353614c3d8e5af2872d2d0ef0c494e36548f6370
treeabccda6e84295ca9fb825fb24e046afe23b3f403
parent89ccd16497c79398a27387bf42016e888afec9eb
Initial embed commit. Implements TemplateField and EmbedField - model fields that validate their contents as templates and templates with embedded content, respectively. Implements the {% embed %} template tag, which allows arbitrary instances to be rendered with a given template. Initial sketch of the embed tracker (which should handle cascading deletions) also in place.
contrib/penfield/admin.py
contrib/penfield/embed.py [new file with mode: 0644]
contrib/penfield/models.py
contrib/penfield/templatetags/embed.py [new file with mode: 0644]