mirror of
https://github.com/django/django.git
synced 2025-10-29 19:17:24 +00:00
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. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| templates | ||
| __init__.py | ||
| admin.py | ||
| customadmin.py | ||
| forms.py | ||
| models.py | ||
| tests.py | ||
| urls.py | ||
| views.py | ||