Models

class scipost.models.AffiliationObject(id, country, institution, subunit)[source]
class scipost.models.Arc(*args, **kwargs)[source]

Arc of a graph, linking two nodes. The length is user-adjustable.

class scipost.models.AuthorshipClaim(id, claimant, submission, commentary, thesislink, vetted_by, status)[source]
class scipost.models.ChoiceArrayField(base_field, size=None, **kwargs)[source]

A field that allows us to store an array of choices. Uses Django 1.9’s postgres ArrayField and a MultipleChoiceField for its formfield.

class scipost.models.Contributor(*args, **kwargs)[source]

All users of SciPost are Contributors. Permissions determine the sub-types. username, password, email, first_name and last_name are inherited from User.

public_info_as_table()[source]

Prints out all publicly-accessible info as a table.

class scipost.models.Graph(*args, **kwargs)[source]

A Graph is a collection of Nodes with directed arrows, representing e.g. a reading list, exploration path, etc. If private, only the teams in teams_with_access can see/edit it.

class scipost.models.List(*args, **kwargs)[source]

A collection of commentaries, submissions, thesislinks, comments, etc defined by a Contributor, for use in Graphs, etc

class scipost.models.NewsItem(id, date, headline, blurb, followup_link, followup_link_text)[source]
descriptor_full()[source]

For News page.

descriptor_small()[source]

For index page.

class scipost.models.Node(*args, **kwargs)[source]

Node of a graph (directed). Each node is composed of a set of submissions, commentaries, thesislinks. Accessibility rights are set in the Graph ForeignKey.

class scipost.models.PrecookedEmail(*args, **kwargs)[source]

Each instance contains an email template in both plain and html formats. Can only be created by Admins. For further use in scipost:send_precooked_email method.

class scipost.models.RegistrationInvitation(*args, **kwargs)[source]

Invitation to particular persons for registration

class scipost.models.Remark(id, contributor, recommendation, date, remark)[source]
class scipost.models.SPBMembershipAgreement(*args, **kwargs)[source]

Agreement for membership of the Supporting Partners Board. A new instance is created each time an Agreement is made or renewed.

class scipost.models.SupportingPartner(*args, **kwargs)[source]

Supporting Partners.

class scipost.models.Team(*args, **kwargs)[source]

Team of Contributors, to enable private collaborations.

class scipost.models.UnavailabilityPeriod(id, contributor, start, end)[source]
class journals.models.Deposit(*args, **kwargs)[source]

Each time a Crossref deposit is made for a Publication, a Deposit object instance is created containing the Publication’s current version of the metadata_xml field. All deposit history is thus contained here.

class journals.models.Issue(id, in_volume, number, start_date, until_date, doi_string, path)[source]
class journals.models.Journal(id, name, doi_string, issn)[source]
class journals.models.Publication(id, accepted_submission, in_issue, paper_nr, discipline, domain, subject_area, secondary_areas, title, author_list, first_author, first_author_unregistered, abstract, pdf_file, metadata, metadata_xml, BiBTeX_entry, doi_label, doi_string, submission_date, acceptance_date, publication_date, latest_activity, citedby)[source]
details()[source]

This method is called from the publication_detail template. It provides all the details for a publication.

class journals.models.UnregisteredAuthor(id, first_name, last_name)[source]
class journals.models.Volume(id, in_journal, number, start_date, until_date, doi_string)[source]
class comments.models.Comment(*args, **kwargs)[source]

A Comment is an unsollicited note, submitted by a Contributor, on a particular publication or in reply to an earlier Comment.

class commentaries.models.Commentary(*args, **kwargs)[source]

A Commentary contains all the contents of a SciPost Commentary page for a given publication.

Takes the arXiv nr or DOI and turns it into the urls

scipost_url()[source]

Returns the url of the SciPost Commentary Page

scipost_url_full()[source]

Returns the url of the SciPost Commentary Page

class submissions.models.EICRecommendation(id, submission, date_submitted, remarks_for_authors, requested_changes, remarks_for_editorial_college, recommendation, voting_deadline)[source]
class submissions.models.EditorialAssignment(id, submission, to, accepted, deprecated, completed, refusal_reason, date_created, date_answered)[source]
header_as_li()[source]

Same as above, but without link to Editorial Page.

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

Each individual communication between Editor-in-charge to and from Referees and Authors becomes an instance of this class.

class submissions.models.RefereeInvitation(id, submission, referee, title, first_name, last_name, email_address, invitation_key, date_invited, invited_by, nr_reminders, date_last_reminded, accepted, date_responded, refusal_reason, fulfilled, cancelled)[source]
class submissions.models.Report(*args, **kwargs)[source]

Both types of reports, invited or contributed.

class submissions.models.Submission(id, is_current, is_resubmission, submitted_by, editor_in_charge, submitted_to_journal, submission_type, discipline, domain, subject_area, secondary_areas, status, author_comments, list_of_changes, remarks_for_editors, referees_suggested, referees_flagged, open_for_reporting, reporting_deadline, open_for_commenting, title, author_list, abstract, arxiv_identifier_w_vn_nr, arxiv_identifier_wo_vn_nr, arxiv_vn_nr, arxiv_link, metadata, submission_date, latest_activity)[source]

An URL pointing to a thesis