Package django :: Package contrib :: Package comments :: Package templatetags :: Module comments :: Class DoCommentForm
[hide private]
[frames] | no frames]

Class DoCommentForm

source code

Displays a comment form for the given params.

Syntax:

   {% comment_form for [pkg].[py_module_name] [context_var_containing_obj_id] with [list of options] %}

Example usage:

   {% comment_form for lcom.eventtimes event.id with is_public yes photos_optional thumbs,200,400 ratings_optional scale:1-5|first_option|second_option %}

``[context_var_containing_obj_id]`` can be a hard-coded integer or a variable containing the ID.

Instance Methods [hide private]
 
__init__(self, free) source code
 
__call__(self, parser, token) source code