Source

cmsplugin-news / cmsplugin_news / cms_app.py

1
2
3
4
5
6
7
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _
class NewsApphook(CMSApp):
    name = _("News")
    urls = ["cmsplugins_news.urls"]
apphook_pool.register(NewsApphook)