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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
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