Drag 'n Drop Inline Images Backend - View

Review Request #6616 — Created Nov. 21, 2014 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Part of a set of changes to add support for dragging and dropping images into the markdown editor.

Adding a view that redirects to a FileAttachment's file. Adding a uuid field to the FileAttachment model, to be used by the view as non-guessable identifier for the FileAttachment.
This view can be accessed at the following url: /users/<username>/file-attachments/<uuid>/

All unit tests pass after making the changes.

Did some manual testing to make sure the view properly redirects to the file, and the file can be viewed.

Changes between revision 2 and 3

orig
1
2
3
reviewboard/attachments/views.py
Loading...