Support rendering with additional context in Config.ListItemView

Review Request #9075 - Created July 13, 2017 and submitted

Barret Rennie
Djblets
release-0.10.x
9073
9071
djblets

Djblets.Config.ListItemView now supports an additional method,
getRenderContext that will be used with the associated model's
attributes to generate the full render context for the template. This
allows subclasses to inject things into the template that are not
necessarily model attributes (but my be derived from them).

Tested this with an upcoming patch for Review Board.

David Trowbridge
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (f23379d)
Loading...