Django-dirtyfields

Latest version: v1.9.2

Safety actively analyzes 618506 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.9.2

------------------

*New:*
- Confirm support for Django 4.2

1.9.1

------------------

*Bugfix:*
- Fixed a :code:`KeyError` that would occur when updating a field two times in a row when
the field value is set to an :code:`F` object and the field is specified in the
:code:`update_fields` argument to :code:`save()`. (209)

1.9.0

------------------

*New:*
- Confirm support for Python 3.11
- Confirm support for Django 4.1
- Drop support for Django 1.11

*Changed:*
- The method :code:`get_dirty_fields()` now returns only the file name for FileFields.
This is to improve performance, since the entire :code:`FieldFile` object will no longer
be copied when Model instances are initialized and saved. (203)

*Bugfix:*
- The method :code:`save_dirty_fields()` can now be called on Model instances that have not been
saved to the Database yet. In this case all fields will be considered dirty, and all will be
saved to the Database. Previously doing this would result in an Exception being raised. (200)

1.8.2

------------------

*Documentation:*
- General improvements to content and generation of Documentation (197).

1.8.1

------------------

*Documentation:*
- Document limitations when using dirtyfields and database transactions (148).
- Document how to use a Proxy Model to avoid performance impact (132).

1.8.0

------------------

*New:*
- Confirm support of Python 3.10
- Confirm support of Django 4.0
- Drop support for Python 3.6

*Tests*
- Run CI tests on Github Actions since travis-ci.org has been shutdown.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.