Run without courseware with --settings
This commit is contained in:
@@ -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:
|
||||
|
||||
2
settings_no_courseware.py
Normal file
2
settings_no_courseware.py
Normal file
@@ -0,0 +1,2 @@
|
||||
COURSEWARE_ENABLED = False
|
||||
execfile("settings.py")
|
||||
Reference in New Issue
Block a user