django/tests/model_fields
David Szotten 80e3444eca Fixed #24483 -- Prevented keepdb from breaking with generator choices.
If Field.choices is provided as an iterator, consume it in __init__ instead
of using itertools.tee (which ends up holding everything in memory
anyway). Fixes a bug where deconstruct() was consuming the iterator but
bypassing the call to `tee`.
2015-03-24 11:42:53 -04:00
..
4x8.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
8x4.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Guaranteed removal of temporary files during tests. 2015-02-23 16:55:26 +01:00
test_durationfield.py Fixed #24302 -- Added DurationField.formfield() 2015-02-09 10:20:01 -05:00
test_field_flags.py Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many. 2015-02-14 02:28:24 +07:00
test_imagefield.py Fixed a few ResourceWarning in the test suite. Refs #22680. 2014-05-26 03:23:17 +07:00
test_uuid.py Fixed #24343 -- Ensure db converters are used for foreign keys. 2015-02-20 11:35:51 +00:00
tests.py Fixed #24483 -- Prevented keepdb from breaking with generator choices. 2015-03-24 11:42:53 -04:00