1. Antoine Nguyen
  2. cmsplugin-poll

Source

cmsplugin-poll / cmsplugin_poll / cms_plugins.py

Diff from to

File cmsplugin_poll/cms_plugins.py

  • Ignore whitespace
 from cms.plugin_base import CMSPluginBase
 from cms.plugin_pool import plugin_pool
-from cmsplugin_poll.models import *
+from cmsplugin_poll.models import PollPlugin
 from django.utils.translation import ugettext as _
 
+
 class CMSPollPlugin(CMSPluginBase):
     model = PollPlugin
     name = _("Simple poll")
 
     def render(self, context, instance, placeholder):
         context.update({
-                "poll" : instance.poll,
+                "poll": instance.poll,
                 })
         return context