submissions.models.assignment module

class submissions.models.assignment.EditorialAssignment(*args, **kwargs)[source]

Bases: submissions.behaviors.SubmissionRelatedObjectMixin, django.db.models.base.Model

Fellow assignment to a Submission to become Editor-in-Charge.

submission

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

to

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

status

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

refusal_reason

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

invitation_order

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

date_created

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

date_invited

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

date_answered

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.ManagerFromEditorialAssignmentQuerySet object>
get_absolute_url()[source]

Return the url of the assignment’s processing page.

property notification_name

Return string representation of this EditorialAssigment as shown in Notifications.

property preassigned
property invited
property replaced
property accepted
property deprecated
property completed
send_invitation()[source]

Send invitation and update status.

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

get_next_by_date_created(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=True, **kwargs)
get_previous_by_date_created(*, field=<django.db.models.fields.DateTimeField: date_created>, is_next=False, **kwargs)
get_refusal_reason_display(*, field=<django.db.models.fields.CharField: refusal_reason>)
get_status_display(*, field=<django.db.models.fields.CharField: status>)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

submission_id
to_id