0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/model_forms
Christopher Adams eefc88feef Fixed #2445 -- Allowed limit_choices_to attribute to be a callable.
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now
be a callable that returns either a ``Q`` object or a dict.

Thanks michael at actrix.gen.nz for the original suggestion.
2014-02-11 14:05:12 -05:00
..
__init__.py
models.py Fixed #2445 -- Allowed limit_choices_to attribute to be a callable. 2014-02-11 14:05:12 -05:00
test2.png
test.png
tests.py Fixed #2445 -- Allowed limit_choices_to attribute to be a callable. 2014-02-11 14:05:12 -05:00