vkaravir/a-plus — pull request #59 by Rubinous (2012-12-19 15:09:43+00:00)
Title: Learning object category

CAUTION! This branch has three migrations to the exercise application.

- new model: LearningObjectCategory
- new field for LearningObject: category
- data migration creates a default LearningObjectCategory for each CourseInstance and binds each LearningObject of that course instance to that LearningObjectCategory
- the only view where the categories is currently considered is the course instance view
- the order of the exercises comes from the LearningObject model's order field
- the numbering of exercises in the course instance view is no longer the loop iterator but comes directly from the LearningObject's order. This means that the staff of the course should make sure each LearningObject of a CourseModule has distinct order and that the order number sequence is complete (eg. not 1, 2, 4, 6 but 1, 2, 3, 4)