submissions.models.communication module¶
-
class
submissions.models.communication.
EditorialCommunication
(*args, **kwargs)[source]¶ Bases:
submissions.behaviors.SubmissionRelatedObjectMixin
,django.db.models.base.Model
Message between two of the EIC, referees, Editorial Administration and/or authors.
-
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.
-
referee
¶ 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.
-
comtype
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
timestamp
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
text
¶ 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.ManagerFromEditorialCommunicationQuerySet object>¶
-
get_notification_url
(url_code)[source]¶ Return url related to the Communication by the url_code meant for Notifications.
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
get_comtype_display
(*, field=<django.db.models.fields.CharField: comtype>)¶
-
get_next_by_timestamp
(*, field=<django.db.models.fields.DateTimeField: timestamp>, is_next=True, **kwargs)¶
-
get_previous_by_timestamp
(*, field=<django.db.models.fields.DateTimeField: timestamp>, is_next=False, **kwargs)¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
referee_id
¶
-
submission_id
¶
-