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
..
4x8.png
8x4.png
__init__.py
models.py Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. 2017-08-31 09:34:44 -04:00
test_binaryfield.py Refs #23919 -- Removed most of remaining six usage 2017-01-18 21:33:28 +01:00
test_booleanfield.py Added a test for NullBooleanField.formfield(). 2016-12-20 07:57:25 -05:00
test_charfield.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_datetimefield.py Split model_fields tests into different files. 2016-03-23 19:31:47 -04:00
test_decimalfield.py Used assertRaisesMessage() to test Django's error messages. 2017-07-29 19:07:23 -04:00
test_durationfield.py Fixed #26747 -- Used more specific assertions in the Django test suite. 2016-06-16 14:19:18 -04:00
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 Fixed spelling mistakes in code and comments. 2017-01-19 07:52:41 -05:00
test_genericipaddressfield.py Fixed #26557 -- Converted empty strings to None when saving GenericIPAddressField. 2016-04-29 10:11:49 -04:00
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 Refs #23919 -- Removed six.<various>_types usage 2017-01-18 20:18:46 +01:00
test_manytomanyfield.py Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy. 2017-08-31 09:34:44 -04:00
test_promises.py Refs #23919 -- Removed six.<various>_types usage 2017-01-18 20:18:46 +01:00
test_slugfield.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
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