Skip to content
Snippets Groups Projects
Commit e94515df authored by Will Daly's avatar Will Daly
Browse files

Fix for acceptance test static file issue

parent 24d3d949
No related merge requests found
......@@ -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...")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment