* Pull business logic of ProgramCourseEnrollmentOverviewView out of view class and into utils.py. * Add UserProgramCourseEnrollmentsView, which is a paginated version of ProgramCourseEnrollmentOverviewView with a URL that is parameterized on the user (to enable masquerading in MST-109). * Add get_certificates_for_user_by_course_keys to certs API to make enrollments overviews REST API use fewer SQL queries. * Document new course cards API with edx-api-doc-tools. In a follow-up ticket, the Programs Learner Portal will switch to the new paginatd API in order to speed up its page load. MST-126
Program Enrollments
======================
This is the Program Enrollments plugin that allows university partners to
enroll their students in Master's courses on the edx platform.
.. image:: doc_images/pe_uml.png
Considerations:
- ProgramEnrollments
- Must have either user_id or external_user_key or both.
- Valid values for the `status` field:
- `enrolled`
- `pending`
- `suspended`
- `canceled`
- ProgramCourseEnrollments
- Valid values for the `status` field:
- `enrolled`
- `pending`
- `suspended`
- `canceled`