示例#1
0
def grade_whole_submissions(assignment, username):
    """Grading a whole submission"""
    return grading.whole_submission(assignment, username, False)
示例#2
0
def grade_whole_submissions(assignment, username):
    """Inserting grade and comment for a whole submission"""
    grade = request.POST.get('grade')
    queries.insert_submission_grade(grade, username, assignment)
    return grading.whole_submission(assignment, username, False)
示例#3
0
def grade_whole_sections(assignment, section, username):
    """grading a whole submission by section"""
    return grading.whole_submission(assignment, username, True)