django-fobi/examples/simple/settings/bootstrap3_theme_feincms.py

26 lines
609 B
Python
Raw Normal View History

2016-10-17 01:30:09 +00:00
from .base import *
2014-10-11 03:54:24 +00:00
INSTALLED_APPS = list(INSTALLED_APPS)
INSTALLED_APPS += [
2022-07-12 20:53:28 +00:00
"feincms", # FeinCMS
"fobi.contrib.apps.feincms_integration", # Fobi FeinCMS app
"page", # Example
2020-01-10 23:10:38 +00:00
# 'tinymce', # TinyMCE
2014-10-11 03:54:24 +00:00
]
try:
2022-07-12 20:53:28 +00:00
INSTALLED_APPS.remove(
"admin_tools.dashboard"
) if "admin_tools.dashboard" in INSTALLED_APPS else None
except Exception as err:
pass
2014-10-11 03:54:24 +00:00
FEINCMS_RICHTEXT_INIT_CONTEXT = {
2022-07-12 20:53:28 +00:00
"TINYMCE_JS_URL": STATIC_URL + "tiny_mce/tiny_mce.js",
2014-10-11 03:54:24 +00:00
}
2017-05-16 21:20:11 +00:00
2019-05-21 19:47:00 +00:00
MIGRATION_MODULES = {
2022-07-12 20:53:28 +00:00
"fobi": "fobi.migrations",
"db_store": "fobi.contrib.plugins.form_handlers.db_store.migrations",
2019-05-21 19:47:00 +00:00
}