Commit c239a2a3 by David Ormsbee

Modify server group dev config to enable separate concurrent Askbot instances.

parent 8695517c
...@@ -41,3 +41,6 @@ def course_db_for(course_id): ...@@ -41,3 +41,6 @@ def course_db_for(course_id):
} }
} }
def askbot_url_for(course_id):
return "courses/{0}/discussions/".format(course_id)
from .courses import * from .courses import *
DATABASES = course_db_for('HarvardX/CS50x/2012') DATABASES = course_db_for('HarvardX/CS50x/2012')
\ No newline at end of file ASKBOT_URL = askbot_url_for("HarvardX/CS50x/2012")
\ No newline at end of file
from .courses import * from .courses import *
DATABASES = course_db_for('MITx/6.002x/2012_Fall') DATABASES = course_db_for('MITx/6.002x/2012_Fall')
\ No newline at end of file ASKBOT_URL = askbot_url_for("MITx/6.002x/2012_Fall")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment