mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refs #28586 -- Split descriptor from GenericForeignKey.
This makes GenericForeignKey more similar to other fields which act as descriptors, preparing it to add “fetcher protocol” support in a clear and consistent way.
This commit is contained in:
committed by
Jacob Walls
parent
762d3be8c5
commit
74a9c2711c
@@ -246,7 +246,8 @@ backends.
|
||||
Miscellaneous
|
||||
-------------
|
||||
|
||||
* ...
|
||||
* :class:`~django.contrib.contenttypes.fields.GenericForeignKey` now uses a
|
||||
separate descriptor class: the private ``GenericForeignKeyDescriptor``.
|
||||
|
||||
.. _deprecated-features-6.1:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user