The if statement in the old clean caused DoesNotExist error if course_module or category was not set. That way, the model forms in Django admin could not display the validation error correctly in the invalid form.
Merge pull request #75 from Rubinous/fixed_LearningObject_clean

The if statement in the old clean caused DoesNotExist error if course_mo...