mirror of
https://github.com/Hopiu/django.git
synced 2026-03-19 07:20:31 +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. |
||
|---|---|---|
| .. | ||
| custom-lookups.txt | ||
| fields.txt | ||
| index.txt | ||
| instances.txt | ||
| options.txt | ||
| queries.txt | ||
| querysets.txt | ||
| relations.txt | ||