django1/tests/model_forms
Jon Dufresne 8641489f4d [1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().
field_for_model() now has an additional keyword argument,
apply_limit_choices_to, allowing it to continue to be used to create
form fields dynamically after ModelForm.__init__() is called.

Thanks Tim Graham for the review.

Backport of a1be12fe19 from master
2017-06-30 21:28:47 -04:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py [1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the form field. 2017-06-01 10:44:47 -04:00
test.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
test2.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
test_uuid.py Fixed #27148 -- Fixed ModelMultipleChoiceField crash with invalid UUID. 2016-10-31 15:21:05 -04:00
tests.py [1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__(). 2017-06-30 21:28:47 -04:00