@classmethod
def get_allowances_for_user(cls, exam_id, user_id):
    """
        Returns an allowances for a user within a given exam
        """
    return cls.objects.filter(proctored_exam_id=exam_id, user_id=user_id)
