submissions.models.decision module¶
-
class
submissions.models.decision.
EditorialDecision
(*args, **kwargs)[source]¶ Bases:
django.db.models.base.Model
Editorial decision, created by EdAdmin based on voting results.
If the decision is to publish in the journal the authors submitted to, or in a higher one (e.g. Selections instead of flagship), authors are presumed to accept the outcome.
If the decision is to publish in a Journal which is subsidiary to the one the authors submitted to, the authors are sent a publication offer which they have to accept before production is initiated.
-
DRAFTED
= 0¶
-
FIXED_AND_ACCEPTED
= 1¶
-
AWAITING_PUBOFFER_ACCEPTANCE
= 2¶
-
PUBOFFER_REFUSED_BY_AUTHORS
= 3¶
-
APPEALED_BY_AUTHORS
= 4¶
-
UNDER_REVIEW_BY_OMBUDSPERSON
= 5¶
-
DEPRECATED
= -1¶
-
EDITORIAL_DECISION_STATUSES
= ((0, 'Editorial decision drafted (yet to be communicated to authors)'), (1, 'Editorial decision fixed and (if required) accepted by authors'), (2, 'Awaiting author acceptance of publication offer'), (3, 'Publication offer refused by authors; manuscript will not be produced'), (4, 'Editorial decision appealed by authors'), (5, 'Editorial decision under review by ombudsperson'), (-1, 'Deprecated'))¶
-
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 aForwardManyToOneDescriptor
instance.
-
for_journal
¶ 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 aForwardManyToOneDescriptor
instance.
-
decision
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
taken_on
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
remarks_for_editorial_college
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
status
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
version
¶ 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.ManagerFromEditorialDecisionQuerySet object>¶
-
property
is_fixed_and_accepted
¶
-
property
publish
¶ Whether the decision is to publish (True) or reject (False).
-
property
production_can_proceed
¶
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
for_journal_id
¶
-
get_decision_display
(*, field=<django.db.models.fields.SmallIntegerField: decision>)¶
-
get_next_by_taken_on
(*, field=<django.db.models.fields.DateTimeField: taken_on>, is_next=True, **kwargs)¶
-
get_previous_by_taken_on
(*, field=<django.db.models.fields.DateTimeField: taken_on>, is_next=False, **kwargs)¶
-
get_status_display
(*, field=<django.db.models.fields.SmallIntegerField: 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
¶
-