mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +00:00
Previously Publisher.objects.filter(book=val) would target book.object_id if book is a GenericRelation. This is inconsistent to filtering over reverse foreign key relations, where the target is the related model's primary key. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| tests.py | ||