Pass ReviewRequestPageDataMixin to fields that require it during render

Review Request #10083 — Created July 13, 2018 and discarded — Latest diff uploaded

brennie
Review Board
release-3.0.x
10082
reviewboard

We have several fields that use ReviewRequestPageDataMixin, but they
only really use it for rendering change description entries. As such,
the review request page data is not passed to them during rendering. If
we wish to take advantage of all the queries that have been done, we
need to pass in this data.

The review request page data is now passed into the template context of
the review detail view and is used by the
{% for_review_request_field %} template tag.

Ran unit tests.

Loading...