- Update minio-py to 7.0.2
- Removed RemovedInDjango40Warning
- Set all fields in admin panel as read-only
- Add to attachment linked_from field
v2.9 - 2020-08-06
- Allow link files to few objects
- Remove unused migration
v2.8 - 2020-05-22
- Alter varchar field
object_id
to uuid, add index
v2.5.2 - 2019-10-29
- Fix display
object_content_type
,object_id
at attachment changelist
- Add
python3.7
compatibility
v2.5 - 2019-10-17
- Add default ordering param for Attachment model
- Add search and filters at
AttachmentAdmin
- Improve
AttachmentAdmin
performance
v2.4 - 2019-08-01
- Increase max length on name field
v2.3 - 2019-07-29
- Bump minimal DRF version to 3.9
v2.2 - 2019-07-03
- Add task purge_attachments
v2.1 - 2019-07-01
- Add get param
uid
on upload file
v2.0 - 2019-06-17
- Model
Attachment
with generic relation, that stores all attachments data AttachmentSerializerMixin
for serializers for models with attachments
AttachFilesSerializers
,CreateAttachFilesSerializers
v1.1 - 2019-06-07
- In url config you can set app_labels instead a model or app_label, model_name. Ex: app_labels = ['project.Model', 'project.Model2']
- Now in url config you can set only app_label without model_name. Ex: app_label='project.Model'
- model argument in url config will be removed in v1.2
v1.0 - 2019-05-30
- Uid, name, created, bucket_name fields to files json
- Retrieve files from some buckets
- This changelog
- Add blank=True to attachments field in model
- In url config you must set app_label and model_name instead model
- In staff url config you also set app_label and model_name
- Instead path in file url, now used uid
- Filter json keys before response. View only 'uid', 'name', 'size', 'content_type'
- Removed file_info function from storage