Comments

Comment Model

Comments come with two status flags:

  • reviewed
  • publishable

Mapped Classes

class mediadrop.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 mediadrop.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.

You're reading the documentation for MediaDrop 0.11dev (current git master). For the latest stable release please consult the documentation for MediaCore CE 0.10.

Table Of Contents

Current topic


Previous topic

Podcasts


Next topic

Categorization


This Page