views¶
Functions
- comment_view(request, submission_id)[source]¶
Comment on a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model
- delete_comment_view(request, submission_id, comment_id)[source]¶
Delete a comment
- Parameters:
request – The request
submission_id – An instance of the
Submission
modelcomment_id – An instance of the
Comment
model
- download_view(request, submission_id)[source]¶
Download a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model
- edit_comment_view(request, submission_id, comment_id)[source]¶
Edit a comment on a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
modelcomment_id – An instance of the
Comment
model
- filter_view(request)[source]¶
Search through submissions based on a filter.
- Parameters:
request – The request
- kill_view(request, submission_id)[source]¶
Kill a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model
- publish_view(request, submission_id)[source]¶
Publish a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model
- rerun_view(request, submission_id)[source]¶
Rerun a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model
- set_aborted_complete_view(request)[source]¶
Check if a submission is running.
This also marks all non-running incomplete submissions as completed.
- Parameters:
request – The request
- set_past_timeout_complete_view(request)[source]¶
Update submissions based off the time limit
If it has exceeded its time limit, marks it as complete
- Parameters:
request – The request
- show_json_view(request, submission_id)[source]¶
Get a JSON response about the information of a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model
- show_view(request, submission_id)[source]¶
Show a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model
- unpublish_view(request, submission_id)[source]¶
Unpublish a submission
- Parameters:
request – The request
submission_id – An instance of the
Submission
model