Run without courseware with --settings

This commit is contained in:
Piotr Mitros
2012-01-16 20:39:50 -05:00
parent 851bf3e692
commit 5859f466ec
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
COURSEWARE_ENABLED = True
if 'COURSEWARE_ENABLED' not in locals():
COURSEWARE_ENABLED = True
if 'TRACK_DIR' not in locals():
ASKBOT_ENABLED = True
if not COURSEWARE_ENABLED:

View File

@@ -0,0 +1,2 @@
COURSEWARE_ENABLED = False
execfile("settings.py")