Skip to content

Convert the professor field on Review from StringField to ForeignKey(Instructor) #17

@cheniel

Description

@cheniel

Currently we have two sources for professors:

  • Through the professor StringField on Review, populated by review writers.
  • Through Instructor, which has a ManyToMany relationship to CourseOffering and is crawled through the timetable.

We would like to consolidate these two sources by changing professor on Review from StringField to ForeignKey. This will require a data migration.

This will consolidate the queries on the course_detail and course_professors views. ReviewForm will have to be modified as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions