mirror of
https://github.com/django/django.git
synced 2025-10-28 02:29:56 +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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| tests.py | ||