1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
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
..
__init__.py
4x8.png
8x4.png
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
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