Commit Graph

3 Commits

Author SHA1 Message Date
Victor Shnayder
f866854411 Load grading policy from policy/{url_name}/grading_policy.json
* with backcompat location /grading_policy.json
2012-08-21 15:00:21 -04:00
Victor Shnayder
eeadf0ba87 Let policies be stored in policies/{url_name}/policy.json
* still backcompat with old mode
2012-08-21 15:00:21 -04:00
Victor Shnayder
c6c95c63ac Keep each course's descriptors separate
* apply policy per-course, even if multiple courses share course and org fields
* keep descriptors separate in xml store, so that if two such courses
  change the same module in different ways, it works.  Such edits will need to
  merged on CMS import...
* add get_instance(course_id, location) method to replace get_item(location).
  Update all the call sites
* tests, including a 2nd toy course with same course and org.
2012-08-20 09:26:16 -04:00