Skip to content
Snippets Groups Projects
cms_plugins.py 368 B
Newer Older
Olivier Le Brouster's avatar
Olivier Le Brouster committed
# -*- coding: utf-8 -*-

from __future__ import unicode_literals

from cms.plugin_pool import plugin_pool
from newsbox_cms.cms_plugins import NewsboxPluginBase

from .models import NewsPlugin as NewsPluginModel


class NewsPlugin(NewsboxPluginBase):
    name = "News list ALL" # Name of the plugin
    model = NewsPluginModel

plugin_pool.register_plugin(NewsPlugin)