oioioi.contests.handlers
¶
Module Contents¶
Functions¶
|
|
|
Celery may start handling a submission before it is actually saved |
|
|
|
|
|
|
|
|
|
|
|
Builds a |
|
Sends email to all admins defined in settings.ADMINS on each |
Attributes¶
- oioioi.contests.handlers.wait_for_submission_in_db(env, **kwargs)[source]¶
Celery may start handling a submission before it is actually saved in the DB. This is a workaround for this.
- oioioi.contests.handlers.create_error_report(env, submission, exc_info, **kwargs)[source]¶
Builds a
oioioi.contests.models.SubmissionReport
for an evaulation which have failed.- USES
env[‘submission_id’]