django-model-utils/tests
Sergey Tikhonov 1386c379b7 FieldTracker should patch save_base instead of save (#404)
* add test for reproducing FieldTracker update_fields issue

FieldTracker does not see update_fields changed in tracked model.save() method

* Patch Model.save_base instead of save

This change allows proper capturing update_fields kwarg if is is changed in overridden save() method.

* Add some details about FieldTracker implementation

* Mention FieldTracker behavior change
2019-12-15 22:43:58 +06:00
..
test_fields FieldTracker should patch save_base instead of save (#404) 2019-12-15 22:43:58 +06:00
test_managers Add django 3.0 to the test matrix and drop six (#395) 2019-12-09 19:37:16 +06:00
test_models Add django 3.0 to the test matrix and drop six (#395) 2019-12-09 19:37:16 +06: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 Modernize Python syntax, add Python 3.8 (#398) 2019-11-14 22:50:04 +06:00
models.py FieldTracker should patch save_base instead of save (#404) 2019-12-15 22:43:58 +06:00
settings.py fix model.save patched in FieldTracker (#353) 2018-12-10 21:35:26 +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 Modernize Python syntax, add Python 3.8 (#398) 2019-11-14 22:50:04 +06:00
test_miscellaneous.py Modernize Python syntax, add Python 3.8 (#398) 2019-11-14 22:50:04 +06:00