Add Draft module store that is used whenever any item is update in the CAS (but not during import, and not for templates)

This commit is contained in:
Calen Pennington
2012-10-04 10:44:18 -04:00
parent 6079c57111
commit 75f8b7c98d
6 changed files with 155 additions and 13 deletions

View File

@@ -26,4 +26,4 @@ class Command(BaseCommand):
print "Importing. Data_dir={data}, course_dirs={courses}".format(
data=data_dir,
courses=course_dirs)
import_from_xml(modulestore(), data_dir, course_dirs, load_error_modules=False)
import_from_xml(modulestore('direct'), data_dir, course_dirs, load_error_modules=False)