From 4474de49b4e6f68a9a1f967910334c7cdb3586ec Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Fri, 20 Jan 2012 11:24:32 -0500 Subject: [PATCH] restore adding askbot-devel to the pythonpath --- settings_new_askbot.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/settings_new_askbot.py b/settings_new_askbot.py index 1d73c12610..f9f0de100a 100644 --- a/settings_new_askbot.py +++ b/settings_new_askbot.py @@ -3,9 +3,6 @@ import sys import djcelery -import askbot -import site - COURSEWARE_ENABLED = True ASKBOT_ENABLED = True @@ -180,6 +177,10 @@ if 'ASKBOT_EXTRA_SKINS_DIR' not in locals(): if 'ASKBOT_DIR' not in locals(): ASKBOT_DIR = BASE_DIR+'/askbot-devel' +sys.path.append(ASKBOT_DIR) +import askbot +import site + STATICFILES_DIRS = STATICFILES_DIRS + ( ASKBOT_DIR+'/askbot/skins',) # Needed for Askbot