mirror of
https://github.com/django/django.git
synced 2025-02-07 16:05:34 +00:00
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.