from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _


class EventsApphook(CMSApp):
    name = _("Events Apphook")
    urls = ["events.urls"]
    app_name = "events"

apphook_pool.register(EventsApphook)

from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _


class EventsApphook(CMSApp):
    name = _("Events Apphook")
    urls = ["events.urls"]
    app_name = "events"
    namespace = "events"

apphook_pool.register(EventsApphook)

Add namespace to support djangoCMS v3
Add namespace to support djangoCMS v3
