views¶
Functions
- create_folder_view(request, course_id)[source]¶
Create a folder
- Parameters:
request – The request
course_id – The primary key of the
Course
model
- create_view(request, course_id)[source]¶
Creates an assignment
- Parameters:
request – The request
course_id – The id of the
Course
- delete_file_view(request, assignment_id, file_id)[source]¶
Delete a file
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
file_id – The id of the file to delete
- delete_view(request, assignment_id)[source]¶
Deletes an assignment
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
- download_file_view(request, assignment_id, file_id)[source]¶
Download a file
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
file_id – The id of the file
- download_grader_view(request, assignment_id)[source]¶
Downloads the grader for an assignment
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
- download_log_view(request, assignment_id)[source]¶
Download the log messages
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
model
- download_submissions_view(request, assignment_id)[source]¶
Download the submissions as a zipped file
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
model
- edit_view(request, assignment_id)[source]¶
Edits an assignment
- Parameters:
request – The request
assignment_id – The id of the
Assignment
- file_action_view(request, assignment_id, action_id)[source]¶
Run file actions on an assignment’s files
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
action_id – The primary key of the
FileAction
- manage_files_view(request, assignment_id)[source]¶
List current assignment files and allow uploading new ones
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
- manage_grader_view(request, assignment_id)[source]¶
Uploads a grader for an assignment
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
- moss_view(request, assignment_id)[source]¶
Allows teachers to select submissions and send them to Moss.
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
model
- quiz_clear_view(request, assignment_id, user_id)[source]¶
Clear the log messages of a user.
This effectively also restarts the quiz.
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
modeluser_id – The primary key of the user
- quiz_end_view(request, assignment_id)[source]¶
The view for ending a quiz
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
model
- quiz_report_view(request, assignment_id)[source]¶
Allows client-side JavaScript to report quiz log messages
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
model
- quiz_view(request, assignment_id)[source]¶
The view for taking a Quiz
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
model
- rerun_view(request, assignment_id)[source]¶
Rerun select submissions
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
- scores_csv_view(request, assignment_id)[source]¶
Get a
.csv
of the scores- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
model
- show_view(request, assignment_id)[source]¶
Shows an overview of the
Assignment
- Parameters:
request – The request
assignment_id – the
Assignment
id
- student_submissions_view(request, assignment_id, student_id)[source]¶
See the submissions of a student
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment
student_id – The primary key of the student model
- submit_view(request, assignment_id)[source]¶
Submit an assignment
- Parameters:
request – The request
assignment_id – The primary key of the
Assignment