django-model-utils/tests/test_fields
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
..
__init__.py Exclude tests from distribution 2017-02-15 23:00:10 +00:00
test_field_tracker.py #491 Context manager for resetting fields (#494) 2021-10-08 15:09:20 +06:00
test_monitor_field.py Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
test_split_field.py Modernize Python syntax, add Python 3.8 (#398) 2019-11-14 22:50:04 +06:00
test_status_field.py Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
test_urlsafe_token_field.py Added deconstruct 2021-04-30 21:40:39 +05:00
test_uuid_field.py Modernize Python syntax, add Python 3.8 (#398) 2019-11-14 22:50:04 +06:00