mitodl / mitxonline

BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Department serializer for programs API #2371

Closed cp-at-mit closed 1 week ago

cp-at-mit commented 2 weeks ago

What are the relevant tickets?

https://github.com/mitodl/hq/issues/4970

Description (What does it do?)

Uses the Department serializer to serialize the program's departments on the program API.

How can this be tested?

Visit http://mitxonline.odl.local:8013/api/v2/programs/ and ensure that the departments are formatted the same as http://mitxonline.odl.local:8013/api/v2/courses/