You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cheniel
changed the title
Convert professor on Review to a ForeignKey on Instructor
Convert the professor field on Review from StringField to ForeignKey(Instructor)
Dec 7, 2016
Currently we have two sources for professors:
professor
StringField
onReview
, populated by review writers.Instructor
, which has aManyToMany
relationship toCourseOffering
and is crawled through the timetable.We would like to consolidate these two sources by changing
professor
onReview
fromStringField
toForeignKey
. This will require a data migration.This will consolidate the queries on the
course_detail
andcourse_professors
views.ReviewForm
will have to be modified as well.The text was updated successfully, but these errors were encountered: