Module Import alias ImportFrom alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq SubscriptLoad NameLoad Index Num Str body Raise Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad keyword Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad keyword Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num keyword Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad orelse Return Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A settings django template django.contrib.comments.templatetags.comments BaseCommentNode CommentFormNode N/A register N/A N/A template Library N/A DEFAULT_UNAUTH_COMMENT_MESSAGE N/A N/A getattr settings DEFAULT_UNAUTH_COMMENT_MESSAGE None <p>Please register/sign-in to post comments.<p> RenderAuthCommentFormNode N/A CommentFormNode N/A N/A Render the comment form directly handle_token N/A N/A cls parser token N/A N/A N/A Class method to parse render_comment_form and return a Node. N/A tokens N/A N/A N/A token contents split N/A N/A N/A tokens N/A 1 for N/A N/A N/A N/A template TemplateSyntaxError N/A Second argument in %r tag must be 'for' N/A tokens N/A 0 N/A N/A N/A len tokens 3 N/A N/A N/A cls object_expr N/A N/A parser compile_filter N/A tokens N/A 2 N/A N/A N/A N/A len tokens 4 N/A N/A N/A cls ctype N/A N/A BaseCommentNode lookup_content_type N/A tokens N/A 2 N/A tokens N/A 0 object_pk_expr N/A N/A parser compile_filter N/A tokens N/A 3 N/A N/A handle_token N/A classmethod handle_token render N/A N/A self context N/A N/A N/A N/A ctype object_pk N/A N/A self get_target_ctype_pk context N/A object_pk N/A N/A N/A {%% load comments %%}
                      {%% if request.user.is_authenticated %%}
                        {%% render_comment_form for %s.%s %d %%}
                      {%% else %%}
                        %s
                      {%% endif %%} N/A N/A ctype app_label N/A ctype model object_pk DEFAULT_UNAUTH_COMMENT_MESSAGE N/A N/A N/A N/A render_auth_comment_form N/A N/A parser token N/A N/A N/A 
    Syntax::

        {% render_auth_comment_form for [object] %}
        {% render_auth_comment_form for [app].[model] [object_id] %}

        is equivalent to

        {% if request.user.is_authenticated %}
          {% render_comment_form for [app].[model] [object_id] %}
        {% else %}
          <p>Please register/log-in to post comments.</p>
        {% endif %}
     N/A N/A N/A RenderAuthCommentFormNode handle_token parser token N/A N/A N/A N/A register tag render_auth_comment_form