summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorGabe Jackson <gabejackson@cxg.ch>2014-03-04 12:23:32 +0100
committerAnssi Kääriäinen <akaariai@gmail.com>2014-03-05 22:37:53 +0200
commitb77f26313cddbfde20dcf2661e9bd35458c2d1bd (patch)
treeed655a90373cf606e304e82eaeceaf025c892328 /docs/releases
parentc627da0ccc12861163f28177aa7538b420a9d310 (diff)
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.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.7.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index 4c0457e7c5..6c1ab36c90 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -1165,6 +1165,11 @@ Miscellaneous
* The ``shortcut`` view in ``django.contrib.contenttypes.views`` now supports
protocol-relative URLs (e.g. ``//example.com``).
+* :class:`~django.contrib.contenttypes.fields.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.
+
.. _deprecated-features-1.7:
Features deprecated in 1.7