def get_course_enrollments(self, enterprise_customer, days):
return CourseEnrollment.objects.filter(<EOL>created__gt=datetime.datetime.now() - datetime.timedelta(days=days)<EOL>).filter(<EOL>user_id__in=enterprise_customer.enterprise_customer_users.values_list('<STR_LIT>', flat=True)<EOL>)<EOL>
Get course enrollments for all the learners of given enterprise customer.

Arguments:
    enterprise_customer (EnterpriseCustomer): Include Course enrollments for learners
        of this enterprise customer.
    days (int): Include course enrollment of this number of days.

Returns:
    (list): A list of CourseEnrollment objects.