summaryrefslogtreecommitdiff
path: root/docs/internals
diff options
context:
space:
mode:
authorMichal Petrucha <michal.petrucha@koniiiik.org>2016-03-20 18:10:55 +0100
committerTim Graham <timograham@gmail.com>2016-04-13 10:10:53 -0400
commitc339a5a6f72690cd90d5a653dc108fbb60274a20 (patch)
tree41b1deef69d5c35b2fc78c67a31d1e647774ae76 /docs/internals
parent47fbbc33de805c803c39483344854caa2890c32c (diff)
Refs #16508 -- Renamed the current "virtual" fields to "private".
The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation.
Diffstat (limited to 'docs/internals')
-rw-r--r--docs/internals/deprecation.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index d428f414f7..fee9c8cef7 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -150,6 +150,12 @@ details on these changes.
* Using ``User.is_authenticated()`` and ``User.is_anonymous()`` as methods
will no longer be supported.
+* The private attribute ``virtual_fields`` of ``Model._meta`` will be removed.
+
+* The private keyword arguments ``virtual_only`` in
+ ``Field.contribute_to_class()`` and ``virtual`` in
+ ``Model._meta.add_field()`` will be removed.
+
.. _deprecation-removed-in-1.10:
1.10