Corrected CourseMode Display Name
The Commerce API now sets the correct display name for known course modes, but continues to default to the mode slug for unknown course modes.
Showing
- lms/djangoapps/commerce/api/v1/models.py 18 additions, 1 deletionlms/djangoapps/commerce/api/v1/models.py
- lms/djangoapps/commerce/api/v1/tests/test_models.py 33 additions, 0 deletionslms/djangoapps/commerce/api/v1/tests/test_models.py
- lms/djangoapps/commerce/api/v1/tests/test_views.py 5 additions, 0 deletionslms/djangoapps/commerce/api/v1/tests/test_views.py
Loading
Please register or sign in to comment