From e94515df8091ef9aa06997f3bf9bbed132ee0cbe Mon Sep 17 00:00:00 2001 From: Will Daly Date: Tue, 3 Sep 2013 11:36:23 -0400 Subject: [PATCH] Fix for acceptance test static file issue --- common/djangoapps/terrain/browser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/djangoapps/terrain/browser.py b/common/djangoapps/terrain/browser.py index 75c0764b1b..498197b590 100644 --- a/common/djangoapps/terrain/browser.py +++ b/common/djangoapps/terrain/browser.py @@ -29,11 +29,13 @@ from xmodule.contentstore.django import _CONTENTSTORE # to use staticfiles. try: import staticfiles + import staticfiles.handlers except ImportError: pass else: import sys sys.modules['django.contrib.staticfiles'] = staticfiles + sys.modules['django.contrib.staticfiles.handlers'] = staticfiles.handlers LOGGER = getLogger(__name__) LOGGER.info("Loading the lettuce acceptance testing terrain file...")