Django-capture-on-commit-callbacks

Latest version: v1.11.0

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

Scan your dependencies

Page 2 of 3

1.6.0

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

* Add type hints.

1.5.0

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

* Move incompatibility check for Django 3.2 from a system check to a use time
check. This is because pytest does not run system checks.

* Stop distributing tests to reduce package size. Tests are not intended to be
run outside of the tox setup in the repository. Repackagers can use GitHub's
tarballs per tag.

1.4.0

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

* Support Django 3.2.

1.3.0

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

* Drop Python 3.5 support.
* Support Python 3.9.

1.2.0

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

* Drop Django 2.0 and 2.1 support.
* Use ``contextlib.contextmanager``.

1.1.0

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

* Made ``captureOnCommitCallbacks()`` a ``classmethod`` so it can be used from within class methods such as ``setUpClass()``, ``setUpTestData()``.
* Avoiding capturing callbacks enqueued within rolled back ``atomic()`` blocks.
As a side effect of this change, the returned list of callbacks is only populated when the context manager exits.
* Add Django 3.1 support.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.