comments¶
Models¶
-
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.
Get author, if and only if comment is not anonymous!!!
Get author string, if and only if comment is not anonymous!!!
-
relation_to_published
¶ Check if the Comment relates to a SciPost-published object. If it is, return a dict with info on relation to the published object, based on Crossref’s peer review content type.
-
title
¶ This property is (mainly) used to let Comments get the title of the Submission without annoying logic.