submissions.managers.referee_invitation module

class submissions.managers.referee_invitation.RefereeInvitationQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: django.db.models.query.QuerySet

Queryset for RefereeInvitation model.

auto_reminders_allowed()[source]
awaiting_response()[source]

Filter sent invitations awaiting response by referee.

accepted()[source]

Filter invitations (non-cancelled) accepted by referee.

declined()[source]

Filter invitations declined by referee.

outstanding()[source]
in_process()[source]

Filter invitations (non-cancelled) accepted by referee that are not fulfilled.

non_cancelled()[source]

Return invitations awaiting reponse, accepted or fulfilled.

needs_attention()[source]

Filter invitations that needs attention.

The following is defined as needs attention: 1. not responded to invite in more than 3 days. 2. not fulfilled (but accepted) with deadline within 7 days.

approaching_deadline(days=2)[source]

Filter non-fulfilled invitations for which the deadline is within days days.

overdue()[source]

Filter non-fulfilled invitations that are overdue.