metadata_to_json.py
2.71 KB
-
Add support metadata in policy.json · a4d67bab
* if there is a policy.json in the course dir, read it * file format is a dict with keys {category}/{url_name}, and values metadata dictionaries * apply the policy, overwriting keys that are in the xml * then do metadata inheritance, inheriting any overwritten keys. * also a management cmd to generate a policy.json from a course dir.
Victor Shnayder committed