<s> from django . utils . translation import ugettext_lazy as _ <EOL> from cms . plugin_pool import plugin_pool <EOL> from cms . plugin_base import CMSPluginBase <EOL> from . models import VimeoVideo <EOL> class VimeoVideoPlugin ( CMSPluginBase ) : <EOL> model = VimeoVideo <EOL> name = _ ( "<STR_LIT>" ) <EOL> render_template = "<STR_LIT>" <EOL> text_enabled = True <EOL> admin_preview = False <EOL> def render ( self , context , instance , placeholder ) : <EOL> context . update ( { <EOL> '<STR_LIT>' : instance , <EOL> '<STR_LIT>' : placeholder <EOL> } ) <EOL> return context <EOL> plugin_pool . register_plugin ( VimeoVideoPlugin ) </s>
