Update Review Bot for new Review Board / Django.

Review Request #12442 — Created July 7, 2022 and submitted

Information

ReviewBot
release-3.x

Reviewers

This change makes two small updates to the Review Bot extension when
running against Review Board 5.0. First, the integration has been
updated to use the non-deprecated import path for the Integration class.
Second, the tool options widget's render method needed to be updated
to take the renderer argument.

Activated and configured the review bot extension. Verified that the
integration form worked correctly.

Summary ID
Update Review Bot for new Review Board / Django.
This change makes two small updates to the Review Bot extension when running against Review Board 5.0. First, the integration has been updated to use the non-deprecated import path for the Integration class. Second, the tool options widget's `render` method needed to be updated to take the renderer argument. Testing Done: Activated and configured the review bot extension. Verified that the integration form worked correctly. Reviewed at https://reviews.reviewboard.org/r/12442/
0f8cd2e164f266966d153c77624847db8361464f
Description From Last Updated

This will break on older versions of Review Board/Django. We should probably take in **kwargs and pass that instead.

chipx86chipx86
maubin
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. extension/reviewbotext/widgets.py (Diff revision 1)
     
     
     
    Show all issues

    This will break on older versions of Review Board/Django.

    We should probably take in **kwargs and pass that instead.

  3. 
      
david
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (0f8cd2e)