django1/django/db/models/fields
Alex Aktsipetrov 681f7e2b13 Fixed #20577 -- Deferred filtering of prefetched related querysets.
Added internal interface to QuerySet that allows to defer next filter
call till .query is accessed. Used it to optimize prefetch_related().

Thanks Simon Charette for the review.
2019-10-21 13:21:54 +02:00
..
__init__.py Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
files.py Refs #28428 -- Made FileField.upload_to support pathlib.Path. 2019-08-18 20:34:58 +02:00
mixins.py Refs #12990 -- Moved CheckFieldDefaultMixin to the django.db.models.fields.mixins. 2019-10-17 12:30:29 +02:00
proxy.py Removed unused OrderWrt.deconstruct(). 2017-07-06 18:45:53 -04:00
related.py Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when using attnames. 2019-07-27 12:04:56 +02:00
related_descriptors.py Fixed #20577 -- Deferred filtering of prefetched related querysets. 2019-10-21 13:21:54 +02:00
related_lookups.py Refs #28442 -- Adjusted related lookups handling of expression rhs. 2019-09-02 10:52:36 +02:00
reverse_related.py Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to respect model's Meta.ordering. 2019-08-15 10:29:05 +02:00