diff options
Diffstat (limited to 'example_project/settings.py')
-rw-r--r-- | example_project/settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 65ca93395..b858c5907 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -170,6 +170,9 @@ INSTALLED_APPS = [ # 'debug_toolbar', ] +USE_TRANSLATION_OVERLOAD = True +TRANSLATION_OVERLOAD_DEBUG = False + MAIN_APP = "" LOGFILE = '' @@ -294,6 +297,9 @@ except ImportError as e: except ImportError as e: print('Unable to load local_settings.py:', e) +if USE_TRANSLATION_OVERLOAD: + INSTALLED_APPS.insert(0, 'overload_translation') + if "SECRET_KEY" not in globals(): # explicit import from the root for celery current_path = os.path.abspath(__file__) current_dir_path = os.path.dirname(current_path).split(os.sep)[-1] |