Make changes to the Mongo modulestore format for asset metadata.
Move the asset types under a top-level 'assets' dict to allow for future arbitrary asset types. Change 'basename' to 'pathname', since the attr is for storing the path.
Showing
- common/lib/xmodule/xmodule/assetstore/__init__.py 8 additions, 8 deletionscommon/lib/xmodule/xmodule/assetstore/__init__.py
- common/lib/xmodule/xmodule/assetstore/tests/assets.xsd 1 addition, 1 deletioncommon/lib/xmodule/xmodule/assetstore/tests/assets.xsd
- common/lib/xmodule/xmodule/modulestore/mongo/base.py 20 additions, 7 deletionscommon/lib/xmodule/xmodule/modulestore/mongo/base.py
- common/lib/xmodule/xmodule/modulestore/tests/test_assetstore.py 35 additions, 3 deletions.../lib/xmodule/xmodule/modulestore/tests/test_assetstore.py
Loading
Please register or sign in to comment