Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad NameLoad Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword AttributeLoad NameLoad attr orelse Return Call NameLoad Str Dict Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad NameLoad Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword AttributeLoad NameLoad attr orelse Return Call NameLoad Str Dict Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad NameLoad Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword AttributeLoad NameLoad attr orelse Return Call NameLoad Str Dict Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str
N/A django template django.conf settings django.shortcuts get_object_or_404 render_to_response django.contrib.auth.decorators login_required permission_required utils next_redirect confirmation_view django.contrib comments django.contrib.comments signals django.views.decorators.csrf csrf_protect flag N/A N/A request comment_id next N/A None N/A N/A 
    Flags a comment. Confirmation on GET, action on POST.

    Templates: `comments/flag.html`,
    Context:
        comment
            the flagged `comments.comment` object
     N/A comment N/A get_object_or_404 N/A N/A comments get_model pk comment_id site__pk N/A settings SITE_ID N/A N/A N/A request method POST N/A N/A N/A perform_flag request comment N/A N/A next_redirect N/A N/A N/A request POST copy next flag_done c N/A comment pk N/A N/A N/A render_to_response comments/flag.html N/A comment next comment next N/A N/A template RequestContext request N/A csrf_protect login_required delete N/A N/A request comment_id next N/A None N/A N/A 
    Deletes a comment. Confirmation on GET, action on POST. Requires the "can
    moderate comments" permission.

    Templates: `comments/delete.html`,
    Context:
        comment
            the flagged `comments.comment` object
     N/A comment N/A get_object_or_404 N/A N/A comments get_model pk comment_id site__pk N/A settings SITE_ID N/A N/A N/A request method POST N/A N/A N/A perform_delete request comment N/A N/A next_redirect N/A N/A N/A request POST copy next delete_done c N/A comment pk N/A N/A N/A render_to_response comments/delete.html N/A comment next comment next N/A N/A template RequestContext request N/A csrf_protect N/A permission_required comments.can_moderate approve N/A N/A request comment_id next N/A None N/A N/A 
    Approve a comment (that is, mark it as public and non-removed). Confirmation
    on GET, action on POST. Requires the "can moderate comments" permission.

    Templates: `comments/approve.html`,
    Context:
        comment
            the `comments.comment` object for approval
     N/A comment N/A get_object_or_404 N/A N/A comments get_model pk comment_id site__pk N/A settings SITE_ID N/A N/A N/A request method POST N/A N/A N/A perform_approve request comment N/A N/A next_redirect N/A N/A N/A request POST copy next approve_done c N/A comment pk N/A N/A N/A render_to_response comments/approve.html N/A comment next comment next N/A N/A template RequestContext request N/A csrf_protect N/A permission_required comments.can_moderate perform_flag N/A N/A request comment N/A N/A N/A 
    Actually perform the flagging of a comment from a request.
     N/A N/A flag created N/A N/A N/A N/A N/A comments models CommentFlag objects get_or_create comment comment user N/A request user flag N/A N/A N/A comments models CommentFlag SUGGEST_REMOVAL N/A N/A N/A N/A signals comment_was_flagged send sender N/A comment __class__ comment comment flag flag created created request request N/A perform_delete N/A N/A request comment N/A N/A N/A N/A flag created N/A N/A N/A N/A N/A comments models CommentFlag objects get_or_create comment comment user N/A request user flag N/A N/A N/A comments models CommentFlag MODERATOR_DELETION N/A N/A comment is_removed True N/A N/A N/A comment save N/A N/A N/A N/A signals comment_was_flagged send sender N/A comment __class__ comment comment flag flag created created request request N/A perform_approve N/A N/A request comment N/A N/A N/A N/A flag created N/A N/A N/A N/A N/A comments models CommentFlag objects get_or_create comment comment user N/A request user flag N/A N/A N/A comments models CommentFlag MODERATOR_APPROVAL N/A N/A comment is_removed False N/A N/A comment is_public True N/A N/A N/A comment save N/A N/A N/A N/A signals comment_was_flagged send sender N/A comment __class__ comment comment flag flag created created request request N/A N/A flag_done N/A confirmation_view template comments/flagged.html doc Displays a "comment was flagged" success page. N/A delete_done N/A confirmation_view template comments/deleted.html doc Displays a "comment was deleted" success page. N/A approve_done N/A confirmation_view template comments/approved.html doc Displays a "comment was approved" success page.