divio/django-cms — pull request #1368 by piquadrat (2012-07-30 13:52:13+00:00)
Title: refactored the plugin downcasting into its own function, now also for subplugins of Text

This is heavily inspired and adapted from @spookylukey's work on #1132.