<s> from cms . plugin_base import CMSPluginBase <EOL> from cms . plugin_pool import plugin_pool <EOL> from . models import TestPluginAlphaModel , TestPluginBetaModel <EOL> class TestPluginAlpha ( CMSPluginBase ) : <EOL> model = TestPluginAlphaModel <EOL> render_template = '<STR_LIT>' <EOL> name = '<STR_LIT>' <EOL> def render ( self , context , instance , placeholder ) : <EOL> context [ '<STR_LIT>' ] = instance . alpha <EOL> return context <EOL> plugin_pool . register_plugin ( TestPluginAlpha ) <EOL> class TestPluginBeta ( CMSPluginBase ) : <EOL> model = TestPluginBetaModel <EOL> render_template = '<STR_LIT>' <EOL> name = '<STR_LIT>' <EOL> def render ( self , context , instance , placeholder ) : <EOL> context [ '<STR_LIT>' ] = instance . alpha <EOL> context [ '<STR_LIT>' ] = instance . beta <EOL> return context <EOL> plugin_pool . register_plugin ( TestPluginBeta ) </s>
