0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01:00
django/tests/prefetch_related
Gabe Jackson b77f26313c Fixed #22207 -- Added support for GenericRelation reverse lookups
GenericRelation now supports an optional related_query_name argument.
Setting related_query_name adds a relation from the related object back to
the content type for filtering, ordering and other query operations.

Thanks to Loic Bistuer for spotting a couple of important issues in
his review.
2014-03-05 22:37:53 +02:00
..
__init__.py
models.py Fixed #22207 -- Added support for GenericRelation reverse lookups 2014-03-05 22:37:53 +02:00
tests.py Allowed custom querysets when prefetching single valued relations 2014-03-03 21:35:19 +02:00