Drag 'n Drop Inline Images Backend - Model
Review Request #6614 — Created Nov. 21, 2014 and submitted — Latest diff uploaded
Part of a set of changes to add support for dragging and dropping images into the markdown editor.
This change set involves extending FileAttachment model so that it can be owned by a user. This includes adding a user field and a local_site field to the FileAttachment model.
All unit tests pass after making the changes.
reviewboard/attachments/models.py |
---|
reviewboard/attachments/evolutions/__init__.py |
---|
reviewboard/attachments/evolutions/file_attachment_ownership.py |
---|