fix: downgrading enterprise version to 3.60.21
This commit is contained in:
@@ -836,7 +836,7 @@ def get_enterprise_course_enrollments(user):
|
||||
"""
|
||||
|
||||
return EnterpriseCourseEnrollment.objects.select_related(
|
||||
'licensedenterprisecourseenrollment_enrollment_fulfillment',
|
||||
'licensed_with',
|
||||
'enterprise_customer_user'
|
||||
).prefetch_related(
|
||||
'enterprise_customer_user__enterprise_customer'
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
"""
|
||||
APIs providing enterprise context for events.
|
||||
"""
|
||||
from enterprise.models import EnterpriseCourseEnrollment
|
||||
try:
|
||||
from enterprise.models import EnterpriseCourseEnrollment
|
||||
except ImportError: # pragma: no cover
|
||||
pass
|
||||
|
||||
|
||||
def get_enterprise_event_context(user_id, course_id):
|
||||
|
||||
Reference in New Issue
Block a user