refactor: Remove use of CourseOverview model directly in the Certificates app
[MICROBA-1289] * Remove use of the CourseOverview model directly in the Certificates app * Introduce a few new Python API functions in the `course_overview` and `catalog` django apps to replace functionality in the Certificates app.
Showing
- lms/djangoapps/certificates/api.py 1 addition, 2 deletionslms/djangoapps/certificates/api.py
- lms/djangoapps/certificates/apis/v0/tests/test_views.py 1 addition, 1 deletionlms/djangoapps/certificates/apis/v0/tests/test_views.py
- lms/djangoapps/certificates/apis/v0/views.py 16 additions, 22 deletionslms/djangoapps/certificates/apis/v0/views.py
- lms/djangoapps/certificates/models.py 7 additions, 2 deletionslms/djangoapps/certificates/models.py
- lms/djangoapps/certificates/views/support.py 25 additions, 28 deletionslms/djangoapps/certificates/views/support.py
- lms/djangoapps/certificates/views/webview.py 1 addition, 1 deletionlms/djangoapps/certificates/views/webview.py
- openedx/core/djangoapps/catalog/api.py 14 additions, 0 deletionsopenedx/core/djangoapps/catalog/api.py
- openedx/core/djangoapps/catalog/tests/test_api.py 32 additions, 0 deletionsopenedx/core/djangoapps/catalog/tests/test_api.py
- openedx/core/djangoapps/content/course_overviews/api.py 34 additions, 1 deletionopenedx/core/djangoapps/content/course_overviews/api.py
- openedx/core/djangoapps/content/course_overviews/tests/test_api.py 36 additions, 2 deletions...ore/djangoapps/content/course_overviews/tests/test_api.py
Please register or sign in to comment