'Returns the eligibilities of given user.
Args:
username(str): Username of the user
Returns:
CreditEligibility queryset for the user'

@classmethod
def get_user_eligibilities(cls, username):

    return cls.objects.filter(username=username, course__enabled=True, deadline__gt=datetime.datetime.now(pytz.UTC)).select_related('course')
