Adjusted to match the new master TemplateField changes. Switched the setting of _embe...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 4 Oct 2010 15:09:54 +0000 (11:09 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 4 Oct 2010 15:12:52 +0000 (11:12 -0400)
commita752922a230a38c3273d8e9b354bc18d041cc24f
treef9956b613d23abf4a495854200621c92c07bc5aa
parent43a0fca55725921fd0748de90479ee2fa9cdbc6f
Adjusted to match the new master TemplateField changes. Switched the setting of _embedded_instances to the EmbedField clean method so that validationerrors can be raised. Added South introspection rules. Switched NewsletterArticle to use EmbedFields. Set EmbedNode to pre-calculate templates and instances if appropriate and to suppress any errors that might occur. Made invalid content type references raise a TemplateSyntaxError, in line with the container template tag.
contrib/penfield/admin.py
contrib/penfield/embed.py
contrib/penfield/models.py
contrib/penfield/templatetags/embed.py