mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #18012 -- Propagated reverse foreign keys from proxy to concrete models.
Thanks to Anssi for the review.
This commit is contained in:
@@ -163,7 +163,11 @@ Migrations
|
||||
Models
|
||||
^^^^^^
|
||||
|
||||
* ...
|
||||
* Reverse foreign keys from proxy models are now propagated to their
|
||||
concrete class. The reverse relation attached by a
|
||||
:class:`~django.db.models.ForeignKey` pointing to a proxy model is now
|
||||
accessible as a descriptor on the proxied model class and may be referenced in
|
||||
queryset filtering.
|
||||
|
||||
Requests and Responses
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user