We always assumed courses do not change their name. It appears they do.
Now, if a course changes its name between years, we will create it twice - meaning two Coursemodels with the same course_number. We assume that that does not happen, so it raises exceptions in many places.
We need to restucture the models to support that: maybe move name and department to CourseOccurrence (this will require a custom migration).
We always assumed courses do not change their name. It appears they do. Now, if a course changes its name between years, we will create it twice - meaning two
Course
models with the samecourse_number
. We assume that that does not happen, so it raises exceptions in many places.We need to restucture the models to support that: maybe move
name
anddepartment
toCourseOccurrence
(this will require a custom migration).