Comments

Comment Model

Comments come with two status flags:

  • reviewed
  • publishable

Mapped Classes

class mediacore.model.comments.Comment

Comment Model

type
The relation name to use when looking up the parent object of this Comment. This is the name of the backref property which can be used to find the object that this Comment belongs to. Our convention is to have a controller by this name, with a ‘view’ action which accepts a slug, so we can auto-generate links to any comment’s parent.
author
An instance of mediacore.model.author.AuthorWithIP.
parent
The object this Comment belongs to, provided for convenience mostly. If the parent has not been eagerloaded, a query is executed automatically.

Table Of Contents


Current topic


Previous topic

Podcasts


Next topic

Categorization


This Page