Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str keyword Str keyword NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword Call NameLoad Str keyword Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Dict Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad If UnaryOpNot NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad body If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list For NameStore Call NameLoad body Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareIn NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Dict Str Str TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareIn NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Dict Str Str TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list ClassDef bases body Assign NameStore Str Assign NameStore ListLoad Str decorator_list decorator_list
N/A __future__ unicode_literals N/A copy django.contrib.auth.models User django.db models django.db.models F django.utils timezone django.utils.translation ugettext_lazy _ djblets.db.fields ModificationTimestampField djblets.db.managers ConcurrencyManager reviewboard.attachments.models FileAttachment reviewboard.changedescs.models ChangeDescription reviewboard.diffviewer.models DiffSet reviewboard.reviews.errors NotModifiedError reviewboard.reviews.models.group Group reviewboard.reviews.models.base_review_request_details BaseReviewRequestDetails reviewboard.reviews.models.review_request ReviewRequest reviewboard.reviews.models.screenshot Screenshot reviewboard.reviews.fields get_review_request_fields reviewboard.reviews.signals review_request_published ReviewRequestDraft N/A BaseReviewRequestDetails N/A N/A A draft of a review request.

    When a review request is being modified, a special draft copy of it is
    created containing all the details of the review request. This copy can
    be modified and eventually saved or discarded. When saved, the new
    details are copied back over to the originating ReviewRequest.
     N/A summary N/A N/A models CharField N/A _ summary max_length N/A BaseReviewRequestDetails MAX_SUMMARY_LENGTH N/A owner N/A N/A models ForeignKey User verbose_name N/A _ owner null True related_name draft N/A review_request N/A N/A models ForeignKey ReviewRequest related_name draft verbose_name N/A _ review request unique True N/A last_updated N/A ModificationTimestampField N/A _ last updated N/A diffset N/A N/A models ForeignKey DiffSet verbose_name N/A _ diff set blank True null True related_name review_request_draft N/A changedesc N/A N/A models ForeignKey ChangeDescription verbose_name N/A _ change description blank True null True N/A target_groups N/A N/A models ManyToManyField Group related_name drafts verbose_name N/A _ target groups blank True N/A target_people N/A N/A models ManyToManyField User verbose_name N/A _ target people related_name directed_drafts blank True N/A screenshots N/A N/A models ManyToManyField Screenshot related_name drafts verbose_name N/A _ screenshots blank True N/A inactive_screenshots N/A N/A models ManyToManyField Screenshot verbose_name N/A _ inactive screenshots related_name inactive_drafts blank True N/A file_attachments N/A N/A models ManyToManyField FileAttachment related_name drafts verbose_name N/A _ file attachments blank True N/A inactive_file_attachments N/A N/A models ManyToManyField FileAttachment verbose_name N/A _ inactive files related_name inactive_drafts blank True N/A submitter N/A property N/A N/A N/A self N/A N/A N/A self owner N/A N/A self review_request submitter N/A repository N/A property N/A N/A N/A self N/A N/A N/A self review_request repository N/A local_site N/A property N/A N/A N/A self N/A N/A N/A self review_request local_site N/A depends_on N/A N/A models ManyToManyField ReviewRequest blank True null True verbose_name N/A _ Dependencies related_name draft_blocks N/A objects N/A ConcurrencyManager N/A commit N/A property N/A N/A N/A self N/A N/A self commit_id N/A N/A N/A self value N/A N/A setattr self commit_id value get_latest_diffset N/A N/A self N/A N/A N/A Returns the diffset for this draft. N/A N/A self diffset N/A is_accessible_by N/A N/A self user N/A N/A N/A Returns whether or not the user can access this draft. N/A N/A N/A self is_mutable_by user N/A is_mutable_by N/A N/A self user N/A N/A N/A Returns whether or not the user can modify this draft. N/A N/A N/A N/A self review_request is_mutable_by user N/A create N/A N/A review_request N/A N/A N/A Creates a draft based on a review request.

        This will copy over all the details of the review request that
        we care about. If a draft already exists for the review request,
        the draft will be returned.
         N/A N/A draft draft_is_new N/A N/A N/A ReviewRequestDraft objects get_or_create review_request review_request defaults N/A summary description testing_done bugs_closed branch description_rich_text testing_done_rich_text rich_text commit_id N/A review_request summary N/A review_request description N/A review_request testing_done N/A review_request bugs_closed N/A review_request branch N/A review_request description_rich_text N/A review_request testing_done_rich_text N/A review_request rich_text N/A review_request commit_id N/A N/A N/A N/A draft changedesc None N/A review_request public N/A N/A N/A draft changedesc N/A N/A N/A ChangeDescription objects create N/A draft_is_new N/A N/A N/A draft target_groups N/A N/A N/A review_request target_groups all N/A N/A draft target_people N/A N/A N/A review_request target_people all N/A N/A draft depends_on N/A N/A N/A review_request depends_on all N/A N/A draft extra_data N/A N/A copy deepcopy N/A review_request extra_data N/A N/A N/A draft save N/A N/A N/A N/A review_request screenshots update draft_caption N/A F caption N/A N/A draft screenshots N/A N/A N/A review_request screenshots all N/A N/A N/A N/A review_request inactive_screenshots update draft_caption N/A F caption N/A N/A draft inactive_screenshots N/A N/A N/A review_request inactive_screenshots all N/A N/A N/A N/A review_request file_attachments update draft_caption N/A F caption N/A N/A draft file_attachments N/A N/A N/A review_request file_attachments all N/A N/A N/A N/A review_request inactive_file_attachments update draft_caption N/A F caption N/A N/A draft inactive_file_attachments N/A N/A N/A review_request inactive_file_attachments all N/A draft N/A staticmethod publish N/A N/A self review_request user trivial send_notification N/A None None False True N/A N/A Publishes this draft.

        This updates and returns the draft's ChangeDescription, which
        contains the changed fields. This is used by the e-mail template
        to tell people what's new and interesting.

        The draft's associated ReviewRequest object will be used if one isn't
        passed in.

        The keys that may be saved in ``fields_changed`` in the
        ChangeDescription are:

        *  ``submitter``
        *  ``summary``
        *  ``description``
        *  ``testing_done``
        *  ``bugs_closed``
        *  ``depends_on``
        *  ``branch``
        *  ``target_groups``
        *  ``target_people``
        *  ``screenshots``
        *  ``screenshot_captions``
        *  ``diff``

        Each field in 'fields_changed' represents a changed field. This will
        save fields in the standard formats as defined by the
        'ChangeDescription' documentation, with the exception of the
        'screenshot_captions' and 'diff' fields.

        For the 'screenshot_captions' field, the value will be a dictionary
        of screenshot ID/dict pairs with the following fields:

        * ``old``: The old value of the field
        * ``new``: The new value of the field

        For the ``diff`` field, there is only ever an ``added`` field,
        containing the ID of the new diffset.

        The ``send_notification`` parameter is intended for internal use only,
        and is there to prevent duplicate notifications when being called by
        ReviewRequest.publish.
         N/A N/A review_request N/A N/A review_request N/A self review_request N/A N/A N/A N/A self changedesc N/A review_request public N/A N/A N/A self changedesc N/A ChangeDescription N/A N/A user N/A N/A N/A self changedesc N/A N/A user N/A N/A N/A self changedesc get_user self N/A N/A user N/A review_request submitter N/A N/A N/A self copy_fields_to_request review_request N/A N/A self diffset N/A N/A N/A N/A self diffset history N/A review_request diffset_history N/A N/A N/A N/A self diffset save update_fields N/A history N/A N/A N/A self changedesc N/A N/A N/A N/A self changedesc has_modified_fields N/A N/A N/A NotModifiedError N/A N/A self changedesc N/A N/A N/A N/A self changedesc user user N/A N/A N/A self changedesc timestamp N/A N/A timezone now N/A N/A N/A self changedesc public True N/A N/A N/A N/A self changedesc save N/A N/A N/A N/A review_request changedescs add N/A self changedesc N/A N/A review_request description_rich_text N/A self description_rich_text N/A N/A review_request testing_done_rich_text N/A self testing_done_rich_text N/A N/A review_request rich_text N/A self rich_text N/A N/A N/A review_request save N/A send_notification N/A N/A N/A N/A review_request_published send sender N/A review_request __class__ user user review_request review_request trivial trivial changedesc N/A self changedesc N/A N/A self changedesc N/A copy_fields_to_request N/A N/A self review_request N/A N/A N/A Copies the draft information to the review request and updates the
        draft's change description.
         update_list N/A N/A a b name record_changes name_field N/A True None N/A N/A aset N/A set N/A N/A x id N/A x N/A N/A a all N/A bset N/A set N/A N/A x id N/A x N/A N/A b all N/A N/A N/A aset symmetric_difference bset N/A N/A N/A record_changes N/A self changedesc N/A N/A N/A N/A N/A self changedesc record_field_change name N/A N/A a all N/A N/A b all name_field N/A N/A N/A a clear N/A item N/A N/A b all N/A N/A N/A N/A a add item N/A N/A field_cls N/A get_review_request_fields N/A N/A field N/A field_cls review_request N/A N/A field can_record_change_entry N/A N/A old_value N/A N/A field load_value review_request N/A new_value N/A N/A field load_value self N/A N/A N/A field has_value_changed old_value new_value N/A N/A N/A N/A field save_value new_value N/A N/A self changedesc N/A N/A N/A N/A field record_change_entry N/A self changedesc old_value new_value N/A screenshots N/A list N/A N/A N/A self screenshots all N/A caption_changes N/A N/A s N/A N/A N/A review_request screenshots all N/A N/A N/A N/A s screenshots N/A N/A s caption N/A s draft_caption N/A N/A N/A caption_changes N/A N/A s id N/A old new N/A N/A s caption N/A N/A s draft_caption N/A N/A s caption N/A s draft_caption N/A N/A N/A s save update_fields N/A caption N/A s screenshots N/A N/A N/A N/A s caption N/A s draft_caption N/A N/A N/A s caption N/A s draft_caption N/A N/A N/A s save update_fields N/A caption N/A N/A caption_changes N/A self changedesc N/A N/A N/A N/A N/A self changedesc fields_changed N/A screenshot_captions caption_changes N/A N/A update_list N/A review_request screenshots N/A self screenshots screenshots name_field caption N/A N/A review_request inactive_screenshots N/A N/A N/A self inactive_screenshots all N/A files N/A list N/A N/A N/A self file_attachments all N/A caption_changes N/A N/A f N/A N/A N/A review_request file_attachments all N/A N/A N/A N/A f files N/A N/A f caption N/A f draft_caption N/A N/A N/A caption_changes N/A N/A f id N/A old new N/A N/A f caption N/A N/A f draft_caption N/A N/A f caption N/A f draft_caption N/A N/A N/A f save update_fields N/A caption N/A f files N/A N/A N/A N/A f caption N/A f draft_caption N/A N/A N/A f caption N/A f draft_caption N/A N/A N/A f save update_fields N/A caption N/A N/A caption_changes N/A self changedesc N/A N/A N/A N/A N/A self changedesc fields_changed N/A file_captions caption_changes N/A N/A update_list N/A review_request file_attachments N/A self file_attachments files name_field display_name N/A N/A review_request inactive_file_attachments N/A N/A N/A self inactive_file_attachments all N/A get_review_request N/A N/A self N/A N/A N/A Returns the associated review request. N/A N/A self review_request N/A Meta N/A N/A N/A app_label reviews N/A ordering N/A -last_updated N/A N/A