init work. Export the 'draft' store under a distinct folder in the export. TBD: do the import from that directory as well.

This commit is contained in:
Chris Dodge
2013-02-15 17:16:05 -05:00
parent bfcc0559a7
commit 66c91b704a
5 changed files with 33 additions and 5 deletions

View File

@@ -1426,7 +1426,7 @@ def generate_export_course(request, org, course, name):
logging.debug('root = {0}'.format(root_dir))
export_to_xml(modulestore('direct'), contentstore(), loc, root_dir, name)
export_to_xml(modulestore('direct'), contentstore(), loc, root_dir, name, modulestore())
#filename = root_dir / name + '.tar.gz'
logging.debug('tar file being generated at {0}'.format(export_file.name))