Commits

Sergey Generalov  committed 079ccdf

rename template to output latest new for cmsplugin

  • Participants
  • Parent commits eb712c5

Comments (0)

Files changed (1)

File cmsplugin_news/cms_plugins.py

     """
     model = LatestNewsPlugin
     name = _('Latest news')
-    render_template = "cmsplugin_news/latest_news.html"
+    render_template = "cmsplugin_news/latest_news_block.html"
     
     
     def render(self, context, instance, placeholder):
         return context
 
 if not settings.DISABLE_LATEST_NEWS_PLUGIN:
-    plugin_pool.register_plugin(CMSLatestNewsPlugin)
+    plugin_pool.register_plugin(CMSLatestNewsPlugin)