Fix crazy load times for DiffSet admin page loads.
Review Request #7870 — Created Jan. 15, 2016 and submitted
The
legacy_diff_hashandlegacy_parent_diff_hashfields in theFileDiff
inlines for theDiffSetadmin pages were loading as<select>fields, which
hammered the database and took a long time. These should be raw ID fields
instead.
Looked at a
DiffSetin the admin and saw it load very quickly.
Tool: PEP8 Style Checker Processed Files: reviewboard/diffviewer/admin.py Tool: Pyflakes Processed Files: reviewboard/diffviewer/admin.py