Skip to content
Snippets Groups Projects
Commit 358f9891 authored by Kyle McCormick's avatar Kyle McCormick Committed by Kyle McCormick
Browse files

Create Python API for program_enrollments: Part III

This is the third in a series of commits to create
a Python API for the LMS program_enrollments app.
It does the following:
* Creates api/ folder.
* Moves link_program_enrollments.py to api/linking.py
* Creates api/reading.py for enrollment-fetching
  functions.
* Updates rest of app to use api/reading.py when
  it was going directly through the models before.
* Other misc. cleanup (isorting, unicode_literals,
  line breaks, etc).

Still to do:
* Create api/writing.py and update app to use it instead
  of going directly through models.
* Create api/reset.py and api/expire.py, which the management
  commands call out to.

EDUCATOR-4321
parent 77aacee6
No related branches found
No related tags found
No related merge requests found
Showing
with 1031 additions and 252 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment