chore: bumping enterprise version 3.61.1

This commit is contained in:
Alex Sheehan
2023-02-22 14:53:01 +00:00
parent b140b7e481
commit e73bfddbd8
6 changed files with 6 additions and 9 deletions

View File

@@ -836,7 +836,7 @@ def get_enterprise_course_enrollments(user):
"""
return EnterpriseCourseEnrollment.objects.select_related(
'licensed_with',
'licensedenterprisecourseenrollment_enrollment_fulfillment',
'enterprise_customer_user'
).prefetch_related(
'enterprise_customer_user__enterprise_customer'

View File

@@ -1,10 +1,7 @@
"""
APIs providing enterprise context for events.
"""
try:
from enterprise.models import EnterpriseCourseEnrollment
except ImportError: # pragma: no cover
pass
from enterprise.models import EnterpriseCourseEnrollment
def get_enterprise_event_context(user_id, course_id):