Skip to content

Commit

Permalink
Renamed cms_app to cms_apps (divio#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
czpython authored Aug 22, 2016
1 parent 8a06094 commit 306cd62
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
14 changes: 2 additions & 12 deletions aldryn_forms/cms_app.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
# -*- coding: utf-8 -*-
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _


class FormsApp(CMSApp):

name = _('Forms')
urls = ['aldryn_forms.urls']

apphook_pool.register(FormsApp)
# djangoCMS < 3.2 compatibility
from . import cms_apps # NOQA
12 changes: 12 additions & 0 deletions aldryn_forms/cms_apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _


class FormsApp(CMSApp):

name = _('Forms')
urls = ['aldryn_forms.urls']

apphook_pool.register(FormsApp)

0 comments on commit 306cd62

Please sign in to comment.