Check migration module for cmsplugin_filer_image
This commit is contained in:
parent
8319971643
commit
699035b311
1 changed files with 10 additions and 3 deletions
|
@ -73,9 +73,7 @@ HELPER_SETTINGS = dict(
|
||||||
'hide_untranslated': False,
|
'hide_untranslated': False,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
MIGRATION_MODULES={
|
MIGRATION_MODULES={},
|
||||||
'cmsplugin_filer_image': 'cmsplugin_filer_image.migrations_django',
|
|
||||||
},
|
|
||||||
CMS_TEMPLATES=(
|
CMS_TEMPLATES=(
|
||||||
('blog.html', 'Blog template'),
|
('blog.html', 'Blog template'),
|
||||||
),
|
),
|
||||||
|
@ -97,6 +95,15 @@ HELPER_SETTINGS = dict(
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
try:
|
||||||
|
import cmsplugin_filer_image.migrations_django # pragma: no cover # NOQA
|
||||||
|
HELPER_SETTINGS[
|
||||||
|
'MIGRATION_MODULES'
|
||||||
|
]['cmsplugin_filer_image'] = 'cmsplugin_filer_image.migrations_django'
|
||||||
|
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import admin_enhancer # pragma: no cover # NOQA
|
import admin_enhancer # pragma: no cover # NOQA
|
||||||
HELPER_SETTINGS['INSTALLED_APPS'].append('admin_enhancer')
|
HELPER_SETTINGS['INSTALLED_APPS'].append('admin_enhancer')
|
||||||
|
|
Loading…
Add table
Reference in a new issue