コード例 #1
0
ファイル: urldispatch.py プロジェクト: karissa/pointism
def grade_whole_submissions(assignment, username):
    """Grading a whole submission"""
    return grading.whole_submission(assignment, username, False)
コード例 #2
0
ファイル: urldispatch.py プロジェクト: karissa/pointism
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
ファイル: urldispatch.py プロジェクト: karissa/pointism
def grade_whole_sections(assignment, section, username):
    """grading a whole submission by section"""
    return grading.whole_submission(assignment, username, True)