reviewboard.accounts.managers¶
- 
class ReviewRequestVisitManager[source]¶
- Bases: - djblets.db.managers.ConcurrencyManager- Manager for review request visits. - Unarchives a specified review request for all users that have archived it. 
- 
class TrophyManager[source]¶
- Bases: - django.db.models.manager.Manager- Manager for trophies. - Creates new trophies, updates the database and fetches trophies from the database. - 
compute_trophies(review_request)[source]¶
- Compute and return trophies for a review request. - Computes trophies for a given review request by looping through all registered trophy types and seeing if any apply to the review request. - If trophies are to be awarded, they are saved in the database and returned. If no trophies are to be awarded, an empty list is returned. 
 
- 
