1c5cbf5e5d
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. |
||
---|---|---|
.. | ||
locale | ||
migrations | ||
tests | ||
__init__.py | ||
admin.py | ||
apps.py | ||
checks.py | ||
fields.py | ||
forms.py | ||
generic.py | ||
management.py | ||
models.py | ||
views.py |