journals.models.journal module¶
-
class
journals.models.journal.
Journal
(*args, **kwargs)[source]¶ Bases:
django.db.models.base.Model
Journal is a container of Publications, with a unique issn and doi_label.
Publications may be categorized into issues or issues and volumes.
Each Journal falls under the auspices of a specific College, which is ForeignKeyed. The only exception is Selections, which does not point to any College (in fact: it falls under the auspices of all colleges at the same time).
A Journal’s AcademicField is indirectly specified via the College, since College has a ForeignKey to AcademicField.
Specialties can optionally be specified (and should be consistent with the College’s acad_field). If none are given, the Journal operates field-wide.
-
college
¶ 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.
-
specialties
¶ Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
name
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
name_abbrev
¶ 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.
-
issn
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
active
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
submission_allowed
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
structure
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
refereeing_period
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
style
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
oneliner
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
blurb
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
list_order
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
required_article_elements
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
description
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
scope
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
content
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
acceptance_criteria
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
submission_insert
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
minimal_nr_of_reports
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
has_DOAJ_Seal
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
template_latex_tgz
¶ The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
-
template_docx
¶ The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like:
>>> from myapp.models import MyModel >>> instance = MyModel.objects.get(pk=1) >>> instance.file.size
Assign a file object on assignment so you can do:
>>> with open('/path/to/hello.world') as f: ... instance.file = File(f)
-
cost_info
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
cf_metrics
¶ 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.ManagerFromJournalQuerySet object>¶
-
property
doi_string
¶ Return DOI including the SciPost registrant prefix.
-
property
has_issues
¶
-
property
has_volumes
¶
-
property
has_collections
¶
-
citation_rate
(tier=None)[source]¶ Return the citation rate in units of nr citations per article per year.
-
citedby_impact_factor
(year, specialty=None)[source]¶ Compute the impact factor for a given year YYYY, from Crossref cited-by data.
This is defined as the total number of citations in year YYYY for all papers published in years YYYY-1 and YYYY-2, divided by the number of papers published in year YYYY.
-
citedby_citescore
(year, specialty=None)[source]¶ Compute the CiteScore for a given year YYYY, from Crossref cited-by data.
This is defined as the total number of citations in years YYYY to YYYY-3 for all papers published in years YYYY to YYYY-3, divided by the number of papers published in that same set of years.
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
alternativerecommendation_set
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
college_id
¶
-
editorialdecision_set
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
eicrecommendation_set
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
get_structure_display
(*, field=<django.db.models.fields.CharField: structure>)¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
publications
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
series_set
¶ Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
submission_set
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
submissiontiering_set
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
templates
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
volumes
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-