Add get_courses() to mongo modulestore

* Note: This doesn't run yet
* add config file for lms on mongo
* Some comment additions and cleanups
This commit is contained in:
Victor Shnayder
2012-07-18 14:43:25 -04:00
committed by Calen Pennington
parent 51ae0d5484
commit 49e8d08c1e
5 changed files with 55 additions and 10 deletions

16
lms/envs/dev_mongo.py Normal file
View File

@@ -0,0 +1,16 @@
"""
This config file runs the dev environment, but with mongo as the datastore
"""
from .dev import *
MODULESTORE = {
'default': {
'ENGINE': 'xmodule.modulestore.mongo.MongoModuleStore',
'OPTIONS': {
'default_class': 'xmodule.raw_module.RawDescriptor',
'host': 'localhost',
'db': 'xmodule',
'collection': 'modulestore',
}
}
}