README for enrollments app
This commit is contained in:
16
openedx/core/djangoapps/enrollments/README.rst
Normal file
16
openedx/core/djangoapps/enrollments/README.rst
Normal file
@@ -0,0 +1,16 @@
|
||||
Status: Maintenance
|
||||
|
||||
Responsibilities
|
||||
================
|
||||
The enrollments app provides basic CRUD functionality and APIs for managing Course-Run enrollments.
|
||||
Enrollments in Programs is managed by the ``lms/djangoapps/program_enrollments\`` app.
|
||||
|
||||
Direction: Keep
|
||||
===============
|
||||
|
||||
|
||||
Glossary
|
||||
========
|
||||
|
||||
More Documentation
|
||||
==================
|
||||
@@ -746,7 +746,7 @@ class EnrollmentListView(APIView, ApiKeyPermissionMixIn):
|
||||
enterprise_api_client.post_enterprise_course_enrollment(username, text_type(course_id), None)
|
||||
except EnterpriseApiException as error:
|
||||
log.exception(u"An unexpected error occurred while creating the new EnterpriseCourseEnrollment "
|
||||
"for user [%s] in course run [%s]", username, course_id)
|
||||
u"for user [%s] in course run [%s]", username, course_id)
|
||||
raise CourseEnrollmentError(text_type(error))
|
||||
kwargs = {
|
||||
'username': username,
|
||||
|
||||
Reference in New Issue
Block a user