1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/model_fields
Tim Graham e5bd585c6e Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.
Previously, it was a QuerySet which could reevaluate to a new value if the
model's data changes. This is inconsistent with other Field.value_from_object()
methods.

This allows reverting the fix in the admin for refs #27998.
2017-08-31 09:34:44 -04:00
..
__init__.py
4x8.png
8x4.png
models.py Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. 2017-08-31 09:34:44 -04:00
test_binaryfield.py
test_booleanfield.py
test_charfield.py
test_datetimefield.py
test_decimalfield.py Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
test_durationfield.py
test_field_flags.py Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
test_filefield.py Refs #27777 -- Improved docs/added test for File context manager change. 2017-05-31 21:02:58 -04:00
test_floatfield.py Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
test_foreignkey.py
test_genericipaddressfield.py
test_imagefield.py Fixed #28242 -- Moved ImageField file extension validation to the form field. 2017-06-01 10:13:23 -04:00
test_integerfield.py
test_manytomanyfield.py Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. 2017-08-31 09:34:44 -04:00
test_promises.py
test_slugfield.py
test_textfield.py Fixed #28319 -- Made TextField with choices use a Select widget. 2017-06-17 08:23:32 -04:00
test_uuid.py Refs #27148 -- Fixed UUIDField.to_python(None) crash. 2017-02-10 13:54:52 -05:00
tests.py Removed unnecessary empty parentheses in class definitions. 2017-06-26 10:31:32 -04:00