Module ImportFrom alias ImportFrom alias ImportFrom alias 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 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 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 Assign NameStore Call 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 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 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 Assign NameStore Call Call NameLoad Str 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 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 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 Assign NameStore Call Call NameLoad Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num handlers ExceptHandler type NameLoad body Raise NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad Return Call NameLoad Str Dict Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr BoolOpAnd CompareEq NameLoad Num CompareEq AttributeLoad NameLoad attr Num CompareGt AttributeLoad NameLoad attr Num Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num BinOpSub NameLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call Call NameLoad Str NameLoad 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.core.paginator Paginator InvalidPage django.http Http404 django.contrib comments django.contrib.comments signals 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 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 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 N/A flag N/A login_required flag 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 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 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 N/A delete N/A N/A permission_required comments.can_moderate delete 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 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 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 N/A approve N/A N/A permission_required comments.can_moderate approve moderation_queue N/A N/A request N/A N/A N/A 
    Displays a list of unapproved comments to be approved.

    Templates: `comments/moderation_queue.html`
    Context:
        comments
            Comments to be approved (paginated).
        empty
            Is the comment list empty?
        is_paginated
            Is there more than one page?
        results_per_page
            Number of comments per page
        has_next
            Is there a next page?
        has_previous
            Is there a previous page?
        page
            The current page number
        next
            The next page number
        pages
            Number of pages
        hits
            Total number of comments
        page_range
            Range of page numbers

     N/A qs N/A N/A N/A N/A N/A comments get_model objects filter is_public False is_removed False N/A paginator N/A Paginator qs 100 N/A N/A N/A page N/A int N/A N/A N/A request GET get page 1 N/A N/A N/A ValueError N/A N/A Http404 N/A N/A N/A comments_per_page N/A N/A paginator page page N/A N/A N/A InvalidPage N/A N/A Http404 N/A N/A render_to_response comments/moderation_queue.html N/A comments empty is_paginated results_per_page has_next has_previous page next previous pages hits page_range N/A comments_per_page object_list N/A N/A page 1 N/A N/A paginator count 0 N/A N/A paginator num_pages 1 100 N/A N/A comments_per_page has_next N/A N/A comments_per_page has_previous page N/A page 1 N/A page 1 N/A paginator num_pages N/A paginator count N/A paginator page_range context_instance N/A N/A template RequestContext request N/A N/A moderation_queue N/A N/A permission_required comments.can_moderate moderation_queue 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.