Make review request views compatible with Python 3/Django 1.11.

Review Request #10502 — Created April 2, 2019 and submitted

Information

Review Board
release-4.0.x

Reviewers

Review request update payload rendering now uses a BytesIO instead of
a StringIO to build any payloads, fixing issues with the payload
building caused by type mismatches. Some entry ordering discrepencies
have also been sorted out (no pun intended).

A few queries making use of Many-to-Many "through" tables have been
reworked to be compatible on both Django 1.6 and 1.11.

The raw diff download view also has a fix for a type mismatch in the
filename.

Unit tests pass on Python 2.7/Django 1.6 and Python 3.7/Django 1.11
(with other in-progress changes).

Summary ID
Make review request views compatible with Python 3/Django 1.11.
Review request update payload rendering now uses a `BytesIO` instead of a `StringIO` to build any payloads, fixing issues with the payload building caused by type mismatches. Some entry ordering discrepencies have also been sorted out (no pun intended). A few queries making use of Many-to-Many "through" tables have been reworked to be compatible on both Django 1.6 and 1.11. The raw diff download view also has a fix for a type mismatch in the filename.
375c49547298ae6d48567800d037da233a8de0ea
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (2cd56a6)