1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/model_forms
Jon Dufresne a1be12fe19 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.
2017-06-30 15:57:48 -07:00
..
__init__.py
models.py Fixed #28242 -- Moved ImageField file extension validation to the form field. 2017-06-01 10:13:23 -04:00
test2.png
test_uuid.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test.png
tests.py Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__(). 2017-06-30 15:57:48 -07:00