django-model-utils/tests
Sergey Tikhonov 79a7793dc5
#491 Context manager for resetting fields (#494)
* Add tracker context manager and decorator

* Handle auto-field warning in tests

* Use tracker context in monkey-patched methods

* Test delaying set_saved_fields call with context manager

* Docs for tracker context

* Describe FieldsContext context manager in changes

* Fix unused import

* #494 add breaking changes note on 4.1.1 release for #404

* #494 fix typo

* #494 add docstring for FieldsContext

* #494 move breaking changes from 4.1.1 to 4.1.0

* #494 fix typo and add some more docstrings
2021-10-08 15:09:20 +06:00
..
test_fields #491 Context manager for resetting fields (#494) 2021-10-08 15:09:20 +06:00
test_managers Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
test_models Rewrite test with subTest and remove parameterized from requirements-test. 2020-12-05 20:24:07 +01:00
__init__.py Exclude tests from distribution 2017-02-15 23:00:10 +00:00
fields.py Add django 3.0 to the test matrix and drop six (#395) 2019-12-09 19:37:16 +06:00
managers.py Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
models.py Fix TypeError in save when model inherits from both TimeStampModel and StatusModel. (Fixes GH-465) 2020-12-02 00:07:22 +01:00
settings.py #491 Context manager for resetting fields (#494) 2021-10-08 15:09:20 +06:00
signals.py Fixed spacing. 2019-08-19 22:38:05 +01:00
test_choices.py Modernize Python syntax, add Python 3.8 (#398) 2019-11-14 22:50:04 +06:00
test_inheritance_iterable.py Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
test_miscellaneous.py Modernize Python syntax, add Python 3.8 (#398) 2019-11-14 22:50:04 +06:00