asaf-kali / coursist

Open Source Workshop (67118) course team project
MIT License
6 stars 12 forks source link

Models and shnaton parser: Major bug #136

Open asaf-kali opened 4 years ago

asaf-kali commented 4 years ago

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).