cms.contrib.comments.templatetags package

Submodules

cms.contrib.comments.templatetags.comment_tags module

cms.contrib.comments.templatetags.comment_tags.comment_thread(context, parent, firstlevelonly=False, root_object=None)

Return a list of child comments for the given parent, storing all comments in a dict in the context when first called, using parents as keys for retrieval on subsequent recursive calls from the comments template.

cms.contrib.comments.templatetags.comment_tags.comments_for(context, obj)

Provides a generic context variable name for the object that comments are being rendered for.

cms.contrib.comments.templatetags.comment_tags.comments_recent_for(context, obj)

Module contents