From a067fb58d60af3e3890af3f208cb2b55066d674b Mon Sep 17 00:00:00 2001 From: JonahStanley Date: Thu, 15 Aug 2013 16:47:23 -0400 Subject: [PATCH] Workaround for issue Better wording of commit Workaround for issue Better wording of commit Fixed spacing --- cms/envs/acceptance.py | 6 ++++++ lms/envs/acceptance.py | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/cms/envs/acceptance.py b/cms/envs/acceptance.py index a1f5edb153..7debfe18d1 100644 --- a/cms/envs/acceptance.py +++ b/cms/envs/acceptance.py @@ -75,6 +75,12 @@ DATABASES = { # Use the auto_auth workflow for creating users and logging them in MITX_FEATURES['AUTOMATIC_AUTH_FOR_TESTING'] = True + +# HACK +# Setting this flag to false causes imports to not load correctly in the lettuce python files +# We do not yet understand why this occurs. Setting this to true is a stopgap measure +USE_I18N = True + # Include the lettuce app for acceptance testing, including the 'harvest' django-admin command INSTALLED_APPS += ('lettuce.django',) LETTUCE_APPS = ('contentstore',) diff --git a/lms/envs/acceptance.py b/lms/envs/acceptance.py index e9ac9762c2..f1132557cf 100644 --- a/lms/envs/acceptance.py +++ b/lms/envs/acceptance.py @@ -82,6 +82,11 @@ MITX_FEATURES['ENABLE_DISCUSSION_SERVICE'] = True # Use the auto_auth workflow for creating users and logging them in MITX_FEATURES['AUTOMATIC_AUTH_FOR_TESTING'] = True +# HACK +# Setting this flag to false causes imports to not load correctly in the lettuce python files +# We do not yet understand why this occurs. Setting this to true is a stopgap measure +USE_I18N = True + # Include the lettuce app for acceptance testing, including the 'harvest' django-admin command INSTALLED_APPS += ('lettuce.django',) LETTUCE_APPS = ('courseware',)