mirror of
https://github.com/django/django.git
synced 2024-12-25 10:35:48 +00:00
eefc88feef
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. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
test2.png | ||
test.png | ||
tests.py |