restore adding askbot-devel to the pythonpath

This commit is contained in:
David Ormsbee
2012-01-20 11:24:32 -05:00
parent 7de2c6fab1
commit 4474de49b4

View File

@@ -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