• Get Review Board
  • What's New
  • Products
  • Review Board Code review, image review, and document review
  • Documentation
  • Release Notes
  • Power Pack Enterprise integrations, reports, and enhanced document review
  • Try for 60 Days
  • Purchase
  • RBCommons Review Board as a Service, hosted by us
  • Pricing
  • RBTools Command line tools and Python API for Review Board
  • Documentation
  • Release Notes
  • Review Bot Automated code review, connecting tools you already use
  • Documentation
  • Release Notes
  • RB Gateway Manage Git and Mercurial repositories in your network
  • Documentation
  • Release Notes
  • Learn and Explore
  • What is Code Review?
  • Documentation
  • Frequently Asked Questions
  • Support Options
  • Third-Party Integrations
  • Demo
  • Review Board RBTools Power Pack Review Bot Djblets RB Gateway
    1. Review Board dev
    2. Version 7.x
    3. Version 6.x
    4. Version 5.0
    5. Version 4.0
    6. Version 3.0
    7. Version 2.5
    8. Version 2.0
    9. Version 1.7
    10. Version 1.6
    11. Version 1.5
    12. Version 1.0
    13. Extending Review Board
    14. Module and Class References
    15. reviewboard.datagrids.columns
  • Home
  • Users Guide
  • Getting Started
  • Introduction
  • What is Code Review?
  • Review Board Workflows
  • Account Settings
  • Dashboard
  • Working with Review Requests
  • Overview
  • Creating Review Requests
  • Editing Fields
  • Uploading Diffs
  • Uploading File Attachments
  • Publishing Review Requests
  • Closing Review Requests
  • Reviewing
  • Reviews and Comments
  • The Review Banner
  • Managing and Publishing Drafts
  • Issue Tracking
  • Reviewing Code (Diffs)
  • Reviewing File Attachments
  • Reviewing Images
  • Reviewing Markdown Files
  • Reviewing Text Files
  • Creating and Editing Reviews
  • Approving Changes (Ship It!)
  • Replying to Comments
  • Automated Code Reviews
  • Searching
  • Quick Search
  • Full-Text Search
  • Using Markdown
  • Administration Guide
  • Installation
  • Installing Review Board
  • Linux System Compatibility
  • Installing with Docker
  • Manually Installing on Linux
  • Installing on macOS
  • Installing on Windows
  • Installing Development Releases
  • Creating a Review Board Site
  • Upgrading
  • Upgrading Review Board
  • Upgrading Review Board Sites
  • Optimization
  • Optimizing and Scaling Review Board
  • Administration UI
  • Overview of the Administration UI
  • Administrator Dashboard
  • Database Management
  • Configuration
  • Site Settings
  • General Settings
  • Authentication Settings
  • Avatar Services Settings
  • E-Mail Settings
  • Diff Viewer Settings
  • Logging Settings
  • SSH Settings
  • File Storage Settings
  • User Privacy Settings
  • Search Settings
  • Access Control
  • Working with E-Mail
  • Default Reviewers
  • Permission Groups
  • Repositories
  • Bazaar Repositories
  • CVS Repositories
  • Git Repositories
  • HCL VersionVault and IBM ClearCase
  • Mercurial Repositories
  • Perforce Repositories
  • Subversion Repositories
  • Assembla Repositories
  • AWS CodeCommit Repositories
  • Beanstalk Repositories
  • Bitbucket Repositories
  • Bitbucket Server Repositories
  • Codebase HQ Repositories
  • Fedora Hosted Repositories
  • Gerrit Repositories
  • GitHub Repositories
  • GitHub Enterprise Repositories
  • GitLab Repositories
  • Gitorious Repositories
  • Cliosoft SOS Repositories
  • SourceForge Repositories
  • Unfuddle STACK Repositories
  • VisualStudio.com Repositories
  • Review Groups
  • Users
  • WebHooks
  • Extensions
  • Integrations
  • Asana Integration
  • CircleCI Integration
  • Discord Integration
  • I Done This Integration
  • Jenkins CI Integration
  • Matrix Integration
  • Mattermost Integration
  • Microsoft Teams Integration
  • Slack Integration
  • Travis CI Integration
  • Trello Integration
  • Site Maintenance
  • The rb-site Tool
  • Advanced Management Commands
  • Monitoring Review Board
  • Health Checks
  • Web API Guide
  • Resource Tree
  • Resources
  • Root List Resource
  • Default Reviewer List Resource
  • Default Reviewer Resource
  • Extension List Resource
  • Extension Resource
  • Hosting Service Account List Resource
  • Hosting Service Account Resource
  • Remote Repository List Resource
  • Hosting Service List Resource
  • Hosting Service Resource
  • OAuth2 Applications List Resource
  • OAuth2 Applications Resource
  • OAuth2 Tokens List Resource
  • OAuth2 Tokens Resource
  • Repository List Resource
  • Repository Resource
  • Diff File Attachment List Resource
  • Repository Branches Resource
  • Repository Commits Resource
  • Repository Group List Resource
  • Repository Info Resource
  • Repository User List Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Request List Resource
  • Review Request Resource
  • Change List Resource
  • Diff Context Resource
  • Diff List Resource
  • File Attachment List Resource
  • Review List Resource
  • Review Request Draft Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Status Update List Resource
  • Root Diff Comment List Resource
  • Root File Attachment Comment List Resource
  • Root General Comment List Resource
  • Root Review List Resource
  • Search Resource
  • Server Info Resource
  • Session Resource
  • User List Resource
  • User Resource
  • API Token List Resource
  • Archived Review Request List Resource
  • Muted Review Request List Resource
  • User File Attachment List Resource
  • Watched List Resource
  • Validation List Resource
  • Validate Diff List Resource
  • Validate Diff Commit List Resource
  • WebHook List Resource
  • WebHook Resource
  • Server Info Resource
  • Default Reviewer List Resource
  • Default Reviewer Resource
  • Default Reviewer Resource
  • Diff Context Resource
  • Diff List Resource
  • Diff Resource
  • Diff Commit List Resource
  • Diff Commit Resource
  • File Diff List Resource
  • File Diff Resource
  • Diff Resource
  • Diff Commit List Resource
  • Diff Commit Resource
  • File Diff List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Original File Resource
  • Patched File Resource
  • Diff Commit List Resource
  • Diff Commit Resource
  • Diff Commit Resource
  • Diff File Attachment List Resource
  • Diff File Attachment Resource
  • Diff File Attachment Resource
  • Original File Resource
  • Patched File Resource
  • Extension List Resource
  • Extension Resource
  • Extension Resource
  • Hosting Service List Resource
  • Hosting Service Resource
  • Hosting Service Resource
  • Hosting Service Account List Resource
  • Hosting Service Account Resource
  • Remote Repository List Resource
  • Remote Repository Resource
  • Hosting Service Account Resource
  • Remote Repository List Resource
  • Remote Repository Resource
  • Remote Repository List Resource
  • Remote Repository Resource
  • Remote Repository Resource
  • OAuth2 Applications List Resource
  • OAuth2 Applications Resource
  • OAuth2 Applications Resource
  • OAuth2 Tokens List Resource
  • OAuth2 Tokens Resource
  • OAuth2 Tokens Resource
  • Repository List Resource
  • Repository Resource
  • Diff File Attachment List Resource
  • Diff File Attachment Resource
  • Repository Branches Resource
  • Repository Commits Resource
  • Repository Group List Resource
  • Repository Group Resource
  • Repository Info Resource
  • Repository User List Resource
  • Repository User Resource
  • Repository Resource
  • Diff File Attachment List Resource
  • Diff File Attachment Resource
  • Repository Branches Resource
  • Repository Commits Resource
  • Repository Group List Resource
  • Repository Group Resource
  • Repository Info Resource
  • Repository User List Resource
  • Repository User Resource
  • Repository Branches Resource
  • Repository Commits Resource
  • Repository Group List Resource
  • Repository Group Resource
  • Repository Group Resource
  • Repository Info Resource
  • Repository User List Resource
  • Repository User Resource
  • Repository User Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group User Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group User Resource
  • Review Group User List Resource
  • Review Group User Resource
  • Review Group User Resource
  • Change List Resource
  • Change Resource
  • Change Resource
  • File Attachment List Resource
  • File Attachment Resource
  • File Attachment Comment List Resource
  • File Attachment Resource
  • File Attachment Comment List Resource
  • File Attachment Comment List Resource
  • File Diff List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Original File Resource
  • Patched File Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Original File Resource
  • Patched File Resource
  • File Diff Comment List Resource
  • Review Request List Resource
  • Review Request Resource
  • Change List Resource
  • Change Resource
  • Diff Context Resource
  • Diff List Resource
  • Diff Resource
  • File Attachment List Resource
  • File Attachment Resource
  • Review List Resource
  • Review Resource
  • Review Draft Resource
  • Review Request Draft Resource
  • Draft Diff List Resource
  • Draft File Attachment List Resource
  • Draft Screenshot List Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Status Update List Resource
  • Status Update Resource
  • Review Request Resource
  • Change List Resource
  • Change Resource
  • Diff Context Resource
  • Diff List Resource
  • Diff Resource
  • Diff Commit List Resource
  • File Diff List Resource
  • File Attachment List Resource
  • File Attachment Resource
  • File Attachment Comment List Resource
  • Review List Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review File Attachment Comment List Resource
  • Review General Comment List Resource
  • Review Reply List Resource
  • Review Screenshot Comment List Resource
  • Review Draft Resource
  • Review Request Draft Resource
  • Draft Diff List Resource
  • Draft Diff Resource
  • Draft File Attachment List Resource
  • Draft File Attachment Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Status Update List Resource
  • Status Update Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Screenshot Comment List Resource
  • Draft Diff List Resource
  • Draft Diff Resource
  • Draft Diff Commit List Resource
  • Draft Diff Commit Resource
  • Draft File Diff List Resource
  • Draft File Diff Resource
  • Draft Diff Resource
  • Draft Diff Commit List Resource
  • Draft Diff Commit Resource
  • Draft File Diff List Resource
  • Draft File Diff Resource
  • Draft Original File Resource
  • Draft Patched File Resource
  • Draft Diff Commit List Resource
  • Draft Diff Commit Resource
  • Draft Diff Commit Resource
  • Draft File Diff List Resource
  • Draft File Diff Resource
  • Draft Original File Resource
  • Draft Patched File Resource
  • Draft File Diff Resource
  • Draft Original File Resource
  • Draft Patched File Resource
  • Draft File Attachment List Resource
  • Draft File Attachment Resource
  • Draft File Attachment Resource
  • Draft Original File Resource
  • Draft Patched File Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Draft Screenshot Resource
  • Review Request Draft Resource
  • Draft Diff List Resource
  • Draft Diff Resource
  • Draft Diff Commit List Resource
  • Draft File Diff List Resource
  • Draft File Attachment List Resource
  • Draft File Attachment Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Root Review List Resource
  • Root Diff Comment List Resource
  • Root File Attachment Comment List Resource
  • Root General Comment List Resource
  • Review List Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review File Attachment Comment List Resource
  • Review File Attachment Comment Resource
  • Review General Comment List Resource
  • Review General Comment Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Draft Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Draft Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review File Attachment Comment List Resource
  • Review File Attachment Comment Resource
  • Review General Comment List Resource
  • Review General Comment Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply File Attachment Comment List Resource
  • Review Reply General Comment List Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Draft Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Draft Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review Diff Comment Resource
  • Review File Attachment Comment List Resource
  • Review File Attachment Comment Resource
  • Review File Attachment Comment Resource
  • Review General Comment List Resource
  • Review General Comment Resource
  • Review General Comment Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Screenshot Comment Resource
  • Review Reply Draft Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply File Attachment Comment List Resource
  • Review Reply File Attachment Comment Resource
  • Review Reply General Comment List Resource
  • Review Reply General Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Draft Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply File Attachment Comment List Resource
  • Review Reply File Attachment Comment Resource
  • Review Reply General Comment List Resource
  • Review Reply General Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply Diff Comment Resource
  • Review Reply File Attachment Comment List Resource
  • Review Reply File Attachment Comment Resource
  • Review Reply File Attachment Comment Resource
  • Review Reply General Comment List Resource
  • Review Reply General Comment Resource
  • Review Reply General Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Screenshot Comment Resource
  • Search Resource
  • Status Update List Resource
  • Status Update Resource
  • Status Update Resource
  • API Token List Resource
  • API Token Resource
  • API Token Resource
  • Archived Review Request List Resource
  • Archived Review Request Resource
  • Archived Review Request Resource
  • Muted Review Request List Resource
  • Muted Review Request Resource
  • Muted Review Request Resource
  • Session Resource
  • User List Resource
  • User Resource
  • API Token List Resource
  • API Token Resource
  • Archived Review Request List Resource
  • Archived Review Request Resource
  • Muted Review Request List Resource
  • Muted Review Request Resource
  • User File Attachment List Resource
  • User File Attachment Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Request List Resource
  • User Resource
  • API Token List Resource
  • API Token Resource
  • Archived Review Request List Resource
  • Archived Review Request Resource
  • Muted Review Request List Resource
  • Muted Review Request Resource
  • User File Attachment List Resource
  • User File Attachment Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • User File Attachment List Resource
  • User File Attachment Resource
  • User File Attachment Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Watched Review Request Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Validation List Resource
  • Validate Diff List Resource
  • Validate Diff Commit List Resource
  • Validate Diff List Resource
  • Validate Diff Commit List Resource
  • WebHook List Resource
  • WebHook Resource
  • WebHook Resource
  • Errors
  • 100 - Does Not Exist
  • 101 - Permission Denied
  • 102 - Invalid Attribute
  • 103 - Not Logged In
  • 104 - Login Failed
  • 105 - Invalid Form Data
  • 106 - Missing Attribute
  • 107 - Enable Extension Failed
  • 108 - Disable Extension Failed
  • 109 - Extension Already Installed
  • 110 - Install Extension Failed
  • 111 - Duplicate Item
  • 112 - OAuth2 Missing Scope Error
  • 113 - OAuth2 Access Denied Error
  • 114 - Rate Limit Exceeded
  • 203 - Invalid Change Number
  • 204 - Change Number In Use
  • 205 - Missing Repository
  • 206 - Invalid Repository
  • 207 - Repository File Not Found
  • 208 - Invalid User
  • 209 - Repository Action Not Supported
  • 210 - Repository Information Error
  • 212 - Empty Changeset
  • 213 - Server Configuration Error
  • 214 - Bad Host Key
  • 215 - Unverified Host Key
  • 216 - Unverified Host Certificate
  • 217 - Missing User Key
  • 218 - Repository Authentication Error
  • 219 - Diff Empty
  • 220 - Diff Too Big
  • 221 - File Retrieval Error
  • 222 - Hosting Service Authentication Error
  • 223 - Group Already Exists
  • 224 - Diff Parse Error
  • 225 - Publish Error
  • 226 - User Query Error
  • 227 - Commit ID Already Exists
  • 228 - Token Generation Failed
  • 230 - Could not close review request
  • 231 - Could not reopen review request
  • 232 - Ship-It Revocation Error
  • REST API 2.0
  • Overview
  • Authenticating
  • API Token Policies
  • OAuth2 Authentication
  • Rich Text Fields and Types
  • Storing/Accessing Extra Data
  • Resources
  • Root List Resource
  • Default Reviewer List Resource
  • Default Reviewer Resource
  • Extension List Resource
  • Extension Resource
  • Hosting Service Account List Resource
  • Hosting Service Account Resource
  • Hosting Service List Resource
  • Hosting Service Resource
  • OAuth2 Applications List Resource
  • OAuth2 Applications Resource
  • OAuth2 Tokens List Resource
  • OAuth2 Tokens Resource
  • Repository List Resource
  • Repository Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Request List Resource
  • Review Request Resource
  • Root Diff Comment List Resource
  • Root File Attachment Comment List Resource
  • Root General Comment List Resource
  • Root Review List Resource
  • Search Resource
  • Server Info Resource
  • Session Resource
  • User List Resource
  • User Resource
  • Validation List Resource
  • Validate Diff List Resource
  • Validate Diff Commit List Resource
  • WebHook List Resource
  • WebHook Resource
  • Server Info Resource
  • Default Reviewer List Resource
  • Default Reviewer Resource
  • Default Reviewer Resource
  • Diff Context Resource
  • Diff List Resource
  • Diff Resource
  • Diff Commit List Resource
  • File Diff List Resource
  • Diff Resource
  • Diff Commit List Resource
  • Diff Commit Resource
  • File Diff List Resource
  • File Diff Resource
  • Diff Commit List Resource
  • Diff Commit Resource
  • Diff Commit Resource
  • Diff File Attachment List Resource
  • Diff File Attachment Resource
  • Diff File Attachment Resource
  • Original File Resource
  • Patched File Resource
  • Extension List Resource
  • Extension Resource
  • Extension Resource
  • Hosting Service List Resource
  • Hosting Service Resource
  • Hosting Service Resource
  • Hosting Service Account List Resource
  • Hosting Service Account Resource
  • Remote Repository List Resource
  • Hosting Service Account Resource
  • Remote Repository List Resource
  • Remote Repository Resource
  • Remote Repository List Resource
  • Remote Repository Resource
  • Remote Repository Resource
  • OAuth2 Applications List Resource
  • OAuth2 Applications Resource
  • OAuth2 Applications Resource
  • OAuth2 Tokens List Resource
  • OAuth2 Tokens Resource
  • OAuth2 Tokens Resource
  • Repository List Resource
  • Repository Resource
  • Diff File Attachment List Resource
  • Repository Branches Resource
  • Repository Commits Resource
  • Repository Group List Resource
  • Repository Info Resource
  • Repository User List Resource
  • Repository Resource
  • Diff File Attachment List Resource
  • Diff File Attachment Resource
  • Repository Branches Resource
  • Repository Commits Resource
  • Repository Group List Resource
  • Repository Group Resource
  • Repository Info Resource
  • Repository User List Resource
  • Repository User Resource
  • Repository Branches Resource
  • Repository Commits Resource
  • Repository Group List Resource
  • Repository Group Resource
  • Repository Group Resource
  • Repository Info Resource
  • Repository User List Resource
  • Repository User Resource
  • Repository User Resource
  • Review Group List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group Resource
  • Review Group User List Resource
  • Review Group User Resource
  • Review Group User List Resource
  • Review Group User Resource
  • Review Group User Resource
  • Change List Resource
  • Change Resource
  • Change Resource
  • File Attachment List Resource
  • File Attachment Resource
  • File Attachment Comment List Resource
  • File Attachment Resource
  • File Attachment Comment List Resource
  • File Attachment Comment List Resource
  • File Diff List Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Original File Resource
  • Patched File Resource
  • File Diff Resource
  • File Diff Comment List Resource
  • Original File Resource
  • Patched File Resource
  • File Diff Comment List Resource
  • Review Request List Resource
  • Review Request Resource
  • Change List Resource
  • Diff Context Resource
  • Diff List Resource
  • File Attachment List Resource
  • Review List Resource
  • Review Request Draft Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Status Update List Resource
  • Review Request Resource
  • Change List Resource
  • Change Resource
  • Diff Context Resource
  • Diff List Resource
  • Diff Resource
  • File Attachment List Resource
  • File Attachment Resource
  • Review List Resource
  • Review Resource
  • Review Draft Resource
  • Review Request Draft Resource
  • Draft Diff List Resource
  • Draft File Attachment List Resource
  • Draft Screenshot List Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Status Update List Resource
  • Status Update Resource
  • Review Request Last Update Resource
  • Screenshot List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Screenshot Resource
  • Screenshot Comment List Resource
  • Screenshot Comment List Resource
  • Draft Diff List Resource
  • Draft Diff Resource
  • Draft Diff Commit List Resource
  • Draft File Diff List Resource
  • Draft Diff Resource
  • Draft Diff Commit List Resource
  • Draft Diff Commit Resource
  • Draft File Diff List Resource
  • Draft File Diff Resource
  • Draft Diff Commit List Resource
  • Draft Diff Commit Resource
  • Draft Diff Commit Resource
  • Draft File Diff List Resource
  • Draft File Diff Resource
  • Draft Original File Resource
  • Draft Patched File Resource
  • Draft File Diff Resource
  • Draft Original File Resource
  • Draft Patched File Resource
  • Draft File Attachment List Resource
  • Draft File Attachment Resource
  • Draft File Attachment Resource
  • Draft Original File Resource
  • Draft Patched File Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Draft Screenshot Resource
  • Review Request Draft Resource
  • Draft Diff List Resource
  • Draft Diff Resource
  • Draft File Attachment List Resource
  • Draft File Attachment Resource
  • Draft Screenshot List Resource
  • Draft Screenshot Resource
  • Root Review List Resource
  • Root Diff Comment List Resource
  • Root File Attachment Comment List Resource
  • Root General Comment List Resource
  • Review List Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review File Attachment Comment List Resource
  • Review General Comment List Resource
  • Review Reply List Resource
  • Review Screenshot Comment List Resource
  • Review Draft Resource
  • Review Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review File Attachment Comment List Resource
  • Review File Attachment Comment Resource
  • Review General Comment List Resource
  • Review General Comment Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Draft Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Draft Resource
  • Review Diff Comment List Resource
  • Review Diff Comment Resource
  • Review Diff Comment Resource
  • Review File Attachment Comment List Resource
  • Review File Attachment Comment Resource
  • Review File Attachment Comment Resource
  • Review General Comment List Resource
  • Review General Comment Resource
  • Review General Comment Resource
  • Review Screenshot Comment List Resource
  • Review Screenshot Comment Resource
  • Review Screenshot Comment Resource
  • Review Reply Draft Resource
  • Review Reply List Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply File Attachment Comment List Resource
  • Review Reply General Comment List Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Draft Resource
  • Review Reply Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply File Attachment Comment List Resource
  • Review Reply File Attachment Comment Resource
  • Review Reply General Comment List Resource
  • Review Reply General Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Diff Comment List Resource
  • Review Reply Diff Comment Resource
  • Review Reply Diff Comment Resource
  • Review Reply File Attachment Comment List Resource
  • Review Reply File Attachment Comment Resource
  • Review Reply File Attachment Comment Resource
  • Review Reply General Comment List Resource
  • Review Reply General Comment Resource
  • Review Reply General Comment Resource
  • Review Reply Screenshot Comment List Resource
  • Review Reply Screenshot Comment Resource
  • Review Reply Screenshot Comment Resource
  • Search Resource
  • Status Update List Resource
  • Status Update Resource
  • Status Update Resource
  • API Token List Resource
  • API Token Resource
  • API Token Resource
  • Archived Review Request List Resource
  • Archived Review Request Resource
  • Archived Review Request Resource
  • Muted Review Request List Resource
  • Muted Review Request Resource
  • Muted Review Request Resource
  • Session Resource
  • User List Resource
  • User Resource
  • API Token List Resource
  • Archived Review Request List Resource
  • Muted Review Request List Resource
  • User File Attachment List Resource
  • Watched List Resource
  • User Resource
  • API Token List Resource
  • API Token Resource
  • Archived Review Request List Resource
  • Archived Review Request Resource
  • Muted Review Request List Resource
  • Muted Review Request Resource
  • User File Attachment List Resource
  • User File Attachment Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Request List Resource
  • User File Attachment List Resource
  • User File Attachment Resource
  • User File Attachment Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Watched Review Request Resource
  • Watched List Resource
  • Watched Review Group List Resource
  • Watched Review Group Resource
  • Watched Review Request List Resource
  • Watched Review Request Resource
  • Validation List Resource
  • Validate Diff List Resource
  • Validate Diff Commit List Resource
  • Validate Diff List Resource
  • Validate Diff Commit List Resource
  • WebHook List Resource
  • WebHook Resource
  • WebHook Resource
  • Errors
  • 100 - Does Not Exist
  • 101 - Permission Denied
  • 102 - Invalid Attribute
  • 103 - Not Logged In
  • 104 - Login Failed
  • 105 - Invalid Form Data
  • 106 - Missing Attribute
  • 107 - Enable Extension Failed
  • 108 - Disable Extension Failed
  • 109 - Extension Already Installed
  • 110 - Install Extension Failed
  • 111 - Duplicate Item
  • 112 - OAuth2 Missing Scope Error
  • 113 - OAuth2 Access Denied Error
  • 114 - Rate Limit Exceeded
  • 203 - Invalid Change Number
  • 204 - Change Number In Use
  • 205 - Missing Repository
  • 206 - Invalid Repository
  • 207 - Repository File Not Found
  • 208 - Invalid User
  • 209 - Repository Action Not Supported
  • 210 - Repository Information Error
  • 212 - Empty Changeset
  • 213 - Server Configuration Error
  • 214 - Bad Host Key
  • 215 - Unverified Host Key
  • 216 - Unverified Host Certificate
  • 217 - Missing User Key
  • 218 - Repository Authentication Error
  • 219 - Diff Empty
  • 220 - Diff Too Big
  • 221 - File Retrieval Error
  • 222 - Hosting Service Authentication Error
  • 223 - Group Already Exists
  • 224 - Diff Parse Error
  • 225 - Publish Error
  • 226 - User Query Error
  • 227 - Commit ID Already Exists
  • 228 - Token Generation Failed
  • 230 - Could not close review request
  • 231 - Could not reopen review request
  • 232 - Ship-It Revocation Error
  • Glossary
  • Extending Review Board
  • Extension Files/Package Layout
  • Creating an Extension Class
  • Extension Configuration
  • Database Models
  • Extension Static Media Files
  • JavaScript Extensions
  • Testing Extensions
  • Extension Distribution
  • Writing Review Board Extensions
  • The rbext Tool
  • Extension Hooks
  • AccountPageFormsHook
  • AccountPagesHook
  • Action Hooks
  • AdminWidgetHook
  • APIExtraDataAccessHook
  • AuthBackendHook
  • AvatarServiceHook
  • CommentDetailDisplayHook
  • DashboardColumnsHook
  • DashboardSidebarItemsHook
  • DataGridColumnsHook
  • EmailHook
  • ReviewRequestPublishedEmailHook
  • ReviewRequestClosedEmailHook
  • ReviewPublishedEmailHook
  • ReviewReplyPublishedEmailHook
  • FileAttachmentThumbnailHook
  • FileDiffACLHook
  • HostingServiceHook
  • IntegrationHook
  • NavigationBarHook
  • ReviewRequestApprovalHook
  • ReviewRequestFieldsHook
  • ReviewRequestFieldSetsHook
  • ReviewUIHook
  • SCMToolHook
  • SignalHook
  • TemplateHook
  • URLHook
  • UserInfoboxHook
  • UserPageSidebarItemsHook
  • WebAPICapabilitiesHook
  • JavaScript Extension Hooks
  • CommentDialogHook
  • FileAttachmentThumbnailContainerHook
  • ReviewDialogCommentHook
  • ReviewDialogHook
  • Adding Review Request Fields
  • Review UI Integration
  • Writing Authentication Backends
  • Writing Legacy Authentication Backends
  • Extending the Web API
  • Module and Class References
  • reviewboard
  • reviewboard.deprecation
  • reviewboard.rb_platform
  • reviewboard.signals
  • reviewboard.accounts.backends
  • reviewboard.accounts.backends.ad
  • reviewboard.accounts.backends.base
  • reviewboard.accounts.backends.http_digest
  • reviewboard.accounts.backends.ldap
  • reviewboard.accounts.backends.nis
  • reviewboard.accounts.backends.registry
  • reviewboard.accounts.backends.standard
  • reviewboard.accounts.backends.x509
  • reviewboard.accounts.decorators
  • reviewboard.accounts.errors
  • reviewboard.accounts.forms.auth
  • reviewboard.accounts.forms.pages
  • reviewboard.accounts.forms.registration
  • reviewboard.accounts.managers
  • reviewboard.accounts.middleware
  • reviewboard.accounts.mixins
  • reviewboard.accounts.models
  • reviewboard.accounts.pages
  • reviewboard.accounts.privacy
  • reviewboard.accounts.templatetags.accounts
  • reviewboard.accounts.testing
  • reviewboard.accounts.testing.queries
  • reviewboard.accounts.trophies
  • reviewboard.actions
  • reviewboard.actions.base
  • reviewboard.actions.errors
  • reviewboard.actions.registry
  • reviewboard.admin
  • reviewboard.admin.admin_sites
  • reviewboard.admin.cache_stats
  • reviewboard.admin.checks
  • reviewboard.admin.decorators
  • reviewboard.admin.form_widgets
  • reviewboard.admin.middleware
  • reviewboard.admin.model_admin
  • reviewboard.admin.security_checks
  • reviewboard.admin.server
  • reviewboard.admin.siteconfig
  • reviewboard.admin.support
  • reviewboard.admin.validation
  • reviewboard.admin.widgets
  • reviewboard.attachments.errors
  • reviewboard.attachments.forms
  • reviewboard.attachments.managers
  • reviewboard.attachments.mimetypes
  • reviewboard.attachments.models
  • reviewboard.avatars.registry
  • reviewboard.avatars.services
  • reviewboard.avatars.settings
  • reviewboard.avatars.templatetags.avatars
  • reviewboard.avatars.testcase
  • reviewboard.changedescs.models
  • reviewboard.datagrids.columns
  • reviewboard.datagrids.grids
  • reviewboard.datagrids.sidebar
  • reviewboard.diffviewer.chunk_generator
  • reviewboard.diffviewer.differ
  • reviewboard.diffviewer.diffutils
  • reviewboard.diffviewer.errors
  • reviewboard.diffviewer.forms
  • reviewboard.diffviewer.managers
  • reviewboard.diffviewer.models
  • reviewboard.diffviewer.models.diffcommit
  • reviewboard.diffviewer.models.diffset
  • reviewboard.diffviewer.models.diffset_history
  • reviewboard.diffviewer.models.filediff
  • reviewboard.diffviewer.models.legacy_file_diff_data
  • reviewboard.diffviewer.models.raw_file_diff_data
  • reviewboard.diffviewer.myersdiff
  • reviewboard.diffviewer.opcode_generator
  • reviewboard.diffviewer.parser
  • reviewboard.diffviewer.processors
  • reviewboard.diffviewer.renderers
  • reviewboard.diffviewer.smdiff
  • reviewboard.certs
  • reviewboard.certs.cert
  • reviewboard.certs.errors
  • reviewboard.extensions.base
  • reviewboard.extensions.hooks
  • reviewboard.extensions.packaging
  • reviewboard.extensions.packaging.backend
  • reviewboard.extensions.packaging.setuptools_backend
  • reviewboard.extensions.packaging.static_media
  • reviewboard.extensions.testing
  • reviewboard.extensions.testing.testcases
  • reviewboard.hostingsvcs.base
  • reviewboard.hostingsvcs.base.client
  • reviewboard.hostingsvcs.base.forms
  • reviewboard.hostingsvcs.base.hosting_service
  • reviewboard.hostingsvcs.base.http
  • reviewboard.hostingsvcs.base.paginator
  • reviewboard.hostingsvcs.base.registry
  • reviewboard.hostingsvcs.base.repository
  • reviewboard.hostingsvcs.errors
  • reviewboard.hostingsvcs.forms
  • reviewboard.hostingsvcs.hook_utils
  • reviewboard.hostingsvcs.models
  • reviewboard.hostingsvcs.repository
  • reviewboard.hostingsvcs.service
  • reviewboard.hostingsvcs.testing
  • reviewboard.hostingsvcs.testing.testcases
  • reviewboard.hostingsvcs.utils.paginator
  • reviewboard.integrations
  • reviewboard.integrations.base
  • reviewboard.integrations.forms
  • reviewboard.integrations.models
  • reviewboard.integrations.urls
  • reviewboard.integrations.views
  • reviewboard.notifications
  • reviewboard.notifications.email
  • reviewboard.notifications.email.backend
  • reviewboard.notifications.email.decorators
  • reviewboard.notifications.email.hooks
  • reviewboard.notifications.email.message
  • reviewboard.notifications.email.utils
  • reviewboard.notifications.email.views
  • reviewboard.notifications.forms
  • reviewboard.notifications.managers
  • reviewboard.notifications.models
  • reviewboard.notifications.webhooks
  • reviewboard.reviews.actions
  • reviewboard.reviews.builtin_fields
  • reviewboard.reviews.chunk_generators
  • reviewboard.reviews.conditions
  • reviewboard.reviews.context
  • reviewboard.reviews.default_actions
  • reviewboard.reviews.detail
  • reviewboard.reviews.errors
  • reviewboard.reviews.features
  • reviewboard.reviews.fields
  • reviewboard.reviews.forms
  • reviewboard.reviews.managers
  • reviewboard.reviews.markdown_utils
  • reviewboard.reviews.models
  • reviewboard.reviews.signals
  • reviewboard.reviews.templatetags.reviewtags
  • reviewboard.reviews.testing
  • reviewboard.reviews.testing.queries
  • reviewboard.reviews.testing.queries.review_groups
  • reviewboard.reviews.testing.queries.review_requests
  • reviewboard.reviews.testing.queries.reviews
  • reviewboard.reviews.ui.base
  • reviewboard.reviews.ui.image
  • reviewboard.reviews.ui.markdownui
  • reviewboard.reviews.ui.text
  • reviewboard.reviews.views.attachments
  • reviewboard.reviews.views.bug_trackers
  • reviewboard.reviews.views.diff_fragments
  • reviewboard.reviews.views.diffviewer
  • reviewboard.reviews.views.download_diff
  • reviewboard.reviews.views.email
  • reviewboard.reviews.views.mixins
  • reviewboard.reviews.views.new_review_request
  • reviewboard.reviews.views.review_request_detail
  • reviewboard.reviews.views.review_request_infobox
  • reviewboard.reviews.views.review_request_updates
  • reviewboard.reviews.views.root
  • reviewboard.scmtools.certs
  • reviewboard.scmtools.conditions
  • reviewboard.scmtools.core
  • reviewboard.scmtools.crypto_utils
  • reviewboard.scmtools.errors
  • reviewboard.scmtools.forms
  • reviewboard.scmtools.managers
  • reviewboard.scmtools.models
  • reviewboard.scmtools.signals
  • reviewboard.scmtools.testing
  • reviewboard.scmtools.testing.queries
  • reviewboard.scmtools.tests.testcases
  • reviewboard.search.fields
  • reviewboard.search.forms
  • reviewboard.search.indexes
  • reviewboard.search.search_backends.base
  • reviewboard.search.search_backends.elasticsearch
  • reviewboard.search.search_backends.registry
  • reviewboard.search.search_backends.whoosh
  • reviewboard.search.signal_processor
  • reviewboard.search.testing
  • reviewboard.site.conditions
  • reviewboard.site.context_processors
  • reviewboard.site.decorators
  • reviewboard.site.middleware
  • reviewboard.site.mixins
  • reviewboard.site.models
  • reviewboard.site.signals
  • reviewboard.site.templatetags.localsite
  • reviewboard.site.testing
  • reviewboard.site.testing.queries
  • reviewboard.site.urlresolvers
  • reviewboard.site.validation
  • reviewboard.ssh.client
  • reviewboard.ssh.errors
  • reviewboard.ssh.policy
  • reviewboard.ssh.storage
  • reviewboard.ssh.utils
  • reviewboard.testing.hosting_services
  • reviewboard.testing.queries
  • reviewboard.testing.queries.base
  • reviewboard.testing.queries.http
  • reviewboard.testing.scmtool
  • reviewboard.testing.testcase
  • reviewboard.themes
  • reviewboard.themes.context_processors
  • reviewboard.themes.ui
  • reviewboard.themes.ui.base
  • reviewboard.themes.ui.default
  • reviewboard.themes.ui.registry
  • reviewboard.webapi.auth_backends
  • reviewboard.webapi.base
  • reviewboard.webapi.decorators
  • reviewboard.webapi.errors
  • reviewboard.webapi.mixins
  • reviewboard.webapi.models
  • reviewboard.webapi.server_info
  • reviewboard.webapi.testing
  • reviewboard.webapi.testing.queries
  • reviewboard.webapi.tests.base
  • Frequently Asked Questions
  • General Index
  • Python Module Index
  • Release Notes
  • This documentation covers the in-development release of Review Board. You can see the stable Review Board documentation or all previous versions.

    reviewboard.datagrids.columns¶

    Columns for datagrids.

    class BaseStarColumn(*args, **kwargs)[source]¶

    Bases: Column

    Indicates if an item is starred.

    This is the base class for all columns that deal with starring items.

    The star is interactive, allowing the user to star or unstar the item.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    setup_state(state)[source]¶

    Set up the state for this column.

    render_data(state, obj)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class UsernameColumn(label='Username', user_relation=[], *args, **kwargs)[source]¶

    Bases: Column

    A column for showing a username and the user’s avatar.

    The username and avatar will link to the user’s profile page and will show basic profile information when hovering over the link.

    When constructing an instance of this column, the relation between the object being represented in the datagrid and the user can be specified as a tuple or list of field names forming a path to the user field.

    AVATAR_SIZE = 24[source]¶
    __init__(label='Username', user_relation=[], *args, **kwargs)[source]¶

    Initialize the column.

    Parameters:
    • label (unicode, optional) – The label for the column.

    • user_relation (list of unicode, optional) – A list of fields forming a relation path to the user. This can be left blank if representing the user.

    • *args (tuple) – Additional positional arguments to pass to the column.

    • **kwargs (dict) – Additional keyword arguments to pass to the column.

    get_user(obj)[source]¶

    Return the user associated with this object.

    Parameters:

    obj (object) – The object provided to the column.

    Returns:

    The resulting user.

    Return type:

    django.contrib.auth.models.User

    render_data(state, obj)[source]¶

    Render the user’s name and avatar as HTML.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The column state.

    • obj (django.db.models.Model) – The object being rendered in the datagrid.

    Returns:

    The HTML for the column.

    Return type:

    django.utils.safestring.SafeText

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    This will select fields for the user and the user’s profile, to help with query performance.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The column state.

    • queryset (django.db.models.query.QuerySet) – The queryset to augment.

    Returns:

    The resulting queryset.

    Return type:

    django.db.models.query.QuerySet

    __annotations__ = {'SORT_ASCENDING': 'Final[int]', 'SORT_DESCENDING': 'Final[int]', 'cell_clickable': 'bool', 'cell_template': 'Optional[str]', 'css_class': 'Union[str, BuildCSSClassFunc]', 'db_field': 'str', 'default_sort_dir': 'int', 'detailed_label': 'Optional[StrOrPromise]', 'detailed_label_html': 'Optional[StrOrPromise]', 'expand': 'bool', 'field_name': 'str', 'id': 'str', 'image_alt': 'Optional[str]', 'image_class': 'Optional[str]', 'image_height': 'Optional[int]', 'image_url': 'Optional[str]', 'image_width': 'Optional[int]', 'label': 'Optional[StrOrPromise]', 'link': 'bool', 'link_css_class': 'Optional[Union[str, LinkCSSClassFunc]]', 'link_func': 'LinkObjectFunc', 'shrink': 'bool', 'sortable': 'bool'}¶
    class FullNameColumn(label: Optional[StrOrPromise] = None, id: Optional[str] = None, detailed_label: Optional[StrOrPromise] = None, detailed_label_html: Optional[str] = None, field_name: Optional[str] = None, db_field: Optional[str] = None, image_url: Optional[str] = None, image_class: Optional[str] = None, image_width: Optional[int] = None, image_height: Optional[int] = None, image_alt: Optional[str] = '', shrink: bool = False, expand: bool = False, sortable: bool = False, default_sort_dir: int = 0, link: bool = False, link_func: Optional[LinkObjectFunc] = None, link_css_class: Optional[Union[str, LinkCSSClassFunc]] = None, cell_clickable: bool = False, css_class: Union[str, BuildCSSClassFunc] = '')[source]¶

    Bases: Column

    Shows the full name of the user when appropriate.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    This will select fields for the user and the user’s profile, to help with query performance.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The column state.

    • queryset (django.db.models.query.QuerySet) – The queryset to augment.

    Returns:

    The resulting queryset.

    Return type:

    django.db.models.query.QuerySet

    render_data(state, user)[source]¶

    Render the full name, or blank if not visible to the user.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The column state.

    • user (django.contrib.auth.models.User) – The user whose full name is to be rendered.

    Returns:

    Either the full name (if visible to the user) or an empty string.

    Return type:

    unicode

    __annotations__ = {}¶
    class BugsColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the list of bugs specified on a review request.

    The list of bugs will be linked to the bug tracker, if a bug tracker was configured for the repository the review request’s change is on.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class ReviewRequestCheckboxColumn(checkbox_name: str = 'select', shrink: bool = True, show_checkbox_header: bool = True, detailed_label: Optional[StrOrPromise] = 'Select Rows', *args, **kwargs)[source]¶

    Bases: CheckboxColumn

    A column containing a check-box.

    render_data(state, obj)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class DateTimeSinceColumn(label: Optional[StrOrPromise] = None, format: Optional[str] = None, sortable: bool = True, timezone: Any = <UTC>, *args, **kwargs)[source]¶

    Bases: DateTimeColumn

    Displays how long it has been since a given date/time.

    These columns will dynamically update as the page is shown, so that the number of minutes, hours, days, etc. ago is correct.

    render_data(state, obj)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class DiffUpdatedColumn(*args, **kwargs)[source]¶

    Bases: DateTimeColumn

    Shows the date/time that the diff was last updated.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, obj)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class DiffUpdatedSinceColumn(*args, **kwargs)[source]¶

    Bases: DateTimeSinceColumn

    Shows the elapsed time since the diff was last updated.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, obj)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class GroupMemberCountColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the number of users that are part of a review group.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset_for_data(state: StatefulColumn, queryset: QuerySet, **kwargs) → QuerySet[source]¶

    Augment a queryset for data-rendering purposes.

    This will count the number of group members for display.

    New in version 5.0.7.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The state for the DataGrid instance.

    • queryset (django.db.models.query.QuerySet) – The queryset to augment.

    • **kwargs (dict) – Additional keyword arguments for future expansion.

    Returns:

    The resulting augmented QuerySet.

    Return type:

    django.db.models.query.QuerySet

    render_data(state: StatefulColumn, obj: Group) → str[source]¶

    Return the rendered contents of the column.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The state for the DataGrid instance.

    • obj (reviewboard.reviews.models.group.Group) – The object being rendered for this row.

    Returns:

    The rendered data as HTML.

    Return type:

    str

    link_to_object(state, group, value)[source]¶

    Return the link to the object in the column.

    __annotations__ = {}¶
    class GroupsColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the list of groups requested to review the review request.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class MyCommentsColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows if the current user has reviewed the review request.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class NewUpdatesColumn(*args, **kwargs)[source]¶

    Bases: Column

    Indicates if there are new updates on a review request.

    This will show an icon if the review request has had any new updates or reviews since the user last saw it.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class PendingCountColumn(label: Optional[StrOrPromise] = None, id: Optional[str] = None, detailed_label: Optional[StrOrPromise] = None, detailed_label_html: Optional[str] = None, field_name: Optional[str] = None, db_field: Optional[str] = None, image_url: Optional[str] = None, image_class: Optional[str] = None, image_width: Optional[int] = None, image_height: Optional[int] = None, image_alt: Optional[str] = '', shrink: bool = False, expand: bool = False, sortable: bool = False, default_sort_dir: int = 0, link: bool = False, link_func: Optional[LinkObjectFunc] = None, link_css_class: Optional[Union[str, LinkCSSClassFunc]] = None, cell_clickable: bool = False, css_class: Union[str, BuildCSSClassFunc] = '')[source]¶

    Bases: Column

    Shows the pending number of review requests for a user or group.

    This will show the pending number of review requests for the given review group or user. It only applies to group or user lists.

    augment_queryset_for_data(state: StatefulColumn, queryset: QuerySet, **kwargs) → QuerySet[source]¶

    Augment a queryset for data-rendering purposes.

    This will count the number of accessible open review requests.

    New in version 5.0.7.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The state for the DataGrid instance.

    • queryset (django.db.models.query.QuerySet) – The queryset to augment.

    • **kwargs (dict) – Additional keyword arguments for future expansion.

    Returns:

    The resulting augmented QuerySet.

    Return type:

    django.db.models.query.QuerySet

    render_data(state: StatefulColumn, obj: Group) → str[source]¶

    Return the rendered contents of the column.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The state for the datagrid.

    • review_request (reviewboard.reviews.models.review_request.ReviewRequest) – The review request.

    Returns:

    The rendered column.

    Return type:

    django.utils.safestring.SafeText

    __annotations__ = {}¶
    class PeopleColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the list of people requested to review the review request.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class RepositoryColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the name of the repository the review request’s change is on.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, obj)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class ReviewCountColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the number of published reviews for a review request.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    link_to_object(state, review_request, value)[source]¶

    Return the link to the object in the column.

    __annotations__ = {}¶
    class ReviewGroupStarColumn(*args, **kwargs)[source]¶

    Bases: BaseStarColumn

    Indicates if a review group is starred.

    The star is interactive, allowing the user to star or unstar the group.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    __annotations__ = {}¶
    class ReviewRequestIDColumn(*args, **kwargs)[source]¶

    Bases: Column

    Displays the ID of the review request.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    get_sort_field(state)[source]¶

    Return the model field for sorting this column.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class ReviewRequestStarColumn(*args, **kwargs)[source]¶

    Bases: BaseStarColumn

    Indicates if a review request is starred.

    The star is interactive, allowing the user to star or unstar the review request.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    __annotations__ = {}¶
    class ShipItColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the “Ship It” and issue counts for a review request.

    If there are any issues still to resolve or verify, this will instead show information on those issues. Otherwise, it will show information on the number of Ship It! reviews filed.

    The following is the order of priority in which information is shown:

    1. Open issues with issues requiring verification

    2. Open issues

    3. Issues requiring verification

    4. Ship It! counts

    If showing a Ship It!, and if the latest review is older than the last update on the review request, the Ship It! will be marked as stale, helping visually indicate that it may need a re-review. The ARIA label reflects this as well.

    Changed in version 5.0:

    • Added ARIA attributes for the displayed output.

    • Ship It! counts are now shown as stale if older than the latest update to the review request.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    Parameters:
    • *args (tuple) – Additional arguments to pass to the parent constructor.

    • **kwargs (dict) – Additional keyword arguments to pass to the parent constructor.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The state for the datagrid.

    • review_request (reviewboard.reviews.models.review_request.ReviewRequest) – The review request.

    Returns:

    The rendered HTML for the column.

    Return type:

    django.utils.safestring.SafeText

    __annotations__ = {}¶
    class SummaryColumn(*args, **kwargs)[source]¶

    Bases: Column

    Shows the summary of a review request.

    This will also prepend the draft/submitted/discarded state, if any, to the summary.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The state for the datagrid.

    • review_request (reviewboard.reviews.models.review_request.ReviewRequest) – The review request.

    Returns:

    The rendered column.

    Return type:

    django.utils.safestring.SafeText

    __annotations__ = {}¶
    class ReviewSummaryColumn(*args, **kwargs)[source]¶

    Bases: SummaryColumn

    Shows the summary of the review request of a review.

    This does not (yet) prepend the draft/submitted/discarded state, if any, to the summary.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    render_data(state, review)[source]¶

    Return the rendered contents of the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    __annotations__ = {}¶
    class ToMeColumn(*args, **kwargs)[source]¶

    Bases: Column

    Indicates if the user is requested to review the change.

    This will show an indicator if the user is on the Target People reviewers list.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    __annotations__ = {}¶
    class DiffSizeColumn(*args, **kwargs)[source]¶

    Bases: Column

    Indicates line add/delete counts for the latest diffset.

    __init__(*args, **kwargs)[source]¶

    Initialize the column.

    render_data(state, review_request)[source]¶

    Return the rendered contents of the column.

    augment_queryset(state, queryset)[source]¶

    Add additional queries to the queryset.

    This will prefetch the diffsets and filediffs needed to perform the line calculations.

    Parameters:
    • state (djblets.datagrid.grids.StatefulColumn) – The column state.

    • queryset (django.db.models.query.QuerySet) – The queryset to augment.

    Returns:

    The resulting queryset.

    Return type:

    django.db.models.query.QuerySet

    __annotations__ = {}¶

    Keep up with the latest Review Board releases, security updates, and helpful information.

    About
    News
    Demo
    RBCommons Hosting
    Integrations
    Happy Users
    Support Options
    Documentation
    FAQ
    User Manual
    RBTools
    Administration Guide
    Power Pack
    Release Notes
    Downloads
    Review Board
    RBTools
    Djblets
    Power Pack
    Package Store
    PGP Signatures
    Contributing
    Bug Tracker
    Submit Patches
    Development Setup
    Wiki
    Follow Us
    Mailing Lists
    Reddit
    Twitter
    Mastodon
    Facebook
    YouTube

    Copyright © 2006-2025 Beanbag, Inc. All rights reserved.

    Terms of Service — Privacy Policy — AI Ethics Policy — Branding

    On this page

    • [Top]
    • BaseStarColumn
      • BaseStarColumn.__init__()
      • BaseStarColumn.setup_state()
      • BaseStarColumn.render_data()
      • BaseStarColumn.__annotations__
    • UsernameColumn
      • UsernameColumn.AVATAR_SIZE
      • UsernameColumn.__init__()
      • UsernameColumn.get_user()
      • UsernameColumn.render_data()
      • UsernameColumn.augment_queryset()
      • UsernameColumn.__annotations__
    • FullNameColumn
      • FullNameColumn.augment_queryset()
      • FullNameColumn.render_data()
      • FullNameColumn.__annotations__
    • BugsColumn
      • BugsColumn.__init__()
      • BugsColumn.augment_queryset()
      • BugsColumn.render_data()
      • BugsColumn.__annotations__
    • ReviewRequestCheckboxColumn
      • ReviewRequestCheckboxColumn.render_data()
      • ReviewRequestCheckboxColumn.__annotations__
    • DateTimeSinceColumn
      • DateTimeSinceColumn.render_data()
      • DateTimeSinceColumn.__annotations__
    • DiffUpdatedColumn
      • DiffUpdatedColumn.__init__()
      • DiffUpdatedColumn.augment_queryset()
      • DiffUpdatedColumn.render_data()
      • DiffUpdatedColumn.__annotations__
    • DiffUpdatedSinceColumn
      • DiffUpdatedSinceColumn.__init__()
      • DiffUpdatedSinceColumn.augment_queryset()
      • DiffUpdatedSinceColumn.render_data()
      • DiffUpdatedSinceColumn.__annotations__
    • GroupMemberCountColumn
      • GroupMemberCountColumn.__init__()
      • GroupMemberCountColumn.augment_queryset_for_data()
      • GroupMemberCountColumn.render_data()
      • GroupMemberCountColumn.link_to_object()
      • GroupMemberCountColumn.__annotations__
    • GroupsColumn
      • GroupsColumn.__init__()
      • GroupsColumn.augment_queryset()
      • GroupsColumn.render_data()
      • GroupsColumn.__annotations__
    • MyCommentsColumn
      • MyCommentsColumn.__init__()
      • MyCommentsColumn.augment_queryset()
      • MyCommentsColumn.render_data()
      • MyCommentsColumn.__annotations__
    • NewUpdatesColumn
      • NewUpdatesColumn.__init__()
      • NewUpdatesColumn.render_data()
      • NewUpdatesColumn.__annotations__
    • PendingCountColumn
      • PendingCountColumn.augment_queryset_for_data()
      • PendingCountColumn.render_data()
      • PendingCountColumn.__annotations__
    • PeopleColumn
      • PeopleColumn.__init__()
      • PeopleColumn.augment_queryset()
      • PeopleColumn.render_data()
      • PeopleColumn.__annotations__
    • RepositoryColumn
      • RepositoryColumn.__init__()
      • RepositoryColumn.augment_queryset()
      • RepositoryColumn.render_data()
      • RepositoryColumn.__annotations__
    • ReviewCountColumn
      • ReviewCountColumn.__init__()
      • ReviewCountColumn.render_data()
      • ReviewCountColumn.augment_queryset()
      • ReviewCountColumn.link_to_object()
      • ReviewCountColumn.__annotations__
    • ReviewGroupStarColumn
      • ReviewGroupStarColumn.augment_queryset()
      • ReviewGroupStarColumn.__annotations__
    • ReviewRequestIDColumn
      • ReviewRequestIDColumn.__init__()
      • ReviewRequestIDColumn.get_sort_field()
      • ReviewRequestIDColumn.render_data()
      • ReviewRequestIDColumn.__annotations__
    • ReviewRequestStarColumn
      • ReviewRequestStarColumn.augment_queryset()
      • ReviewRequestStarColumn.__annotations__
    • ShipItColumn
      • ShipItColumn.__init__()
      • ShipItColumn.render_data()
      • ShipItColumn.__annotations__
    • SummaryColumn
      • SummaryColumn.__init__()
      • SummaryColumn.augment_queryset()
      • SummaryColumn.render_data()
      • SummaryColumn.__annotations__
    • ReviewSummaryColumn
      • ReviewSummaryColumn.__init__()
      • ReviewSummaryColumn.render_data()
      • ReviewSummaryColumn.augment_queryset()
      • ReviewSummaryColumn.__annotations__
    • ToMeColumn
      • ToMeColumn.__init__()
      • ToMeColumn.augment_queryset()
      • ToMeColumn.render_data()
      • ToMeColumn.__annotations__
    • DiffSizeColumn
      • DiffSizeColumn.__init__()
      • DiffSizeColumn.render_data()
      • DiffSizeColumn.augment_queryset()
      • DiffSizeColumn.__annotations__