Model and UI changes to enable attachments for binary diffs
Review Request #2651 — Created Oct. 9, 2011 and discarded — Latest diff uploaded
Changed FileAttachment model to enable per-diff attachments; Enabled simple UI for displaying image attachments;
Manually adding/changing db entries to create binary attachments and verifying displaying images from the diff viewer page.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 6. See what's changed.
orig
1
2
3
4
5
6
reviewboard/attachments/models.py |
---|
reviewboard/attachments/evolutions/__init__.py |
---|
reviewboard/attachments/evolutions/add_binary_attachment.py |
---|
reviewboard/diffviewer/views.py |
---|
reviewboard/templates/diffviewer/diff_file_fragment.html |
---|