journals.models.volume module

class journals.models.volume.Volume(*args, **kwargs)[source]

Bases: django.db.models.base.Model

A Volume belongs to a specific Journal, and is a container for either (multiple) Issue(s) or Publication(s).

in_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 a ForwardManyToOneDescriptor instance.

number

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

start_date

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

until_date

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

doi_label

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

clean()[source]

Check if the Volume is assigned to a valid Journal.

property doi_string
is_current()[source]
nr_publications(tier=None)[source]
avg_processing_duration()[source]
citation_rate(tier=None)[source]

Returns the citation rate in units of nr citations per article per year.

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

get_next_by_start_date(*, field=<django.db.models.fields.DateField: start_date>, is_next=True, **kwargs)
get_next_by_until_date(*, field=<django.db.models.fields.DateField: until_date>, is_next=True, **kwargs)
get_previous_by_start_date(*, field=<django.db.models.fields.DateField: start_date>, is_next=False, **kwargs)
get_previous_by_until_date(*, field=<django.db.models.fields.DateField: until_date>, 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.

in_journal_id
issues

Accessor to the related objects manager on the reverse side of a many-to-one relation.

In the example:

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

Parent.children is a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

objects = <django.db.models.manager.Manager object>