summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Hill <alex@hill.net.au>2015-03-03 16:43:56 +0800
committerTim Graham <timograham@gmail.com>2015-03-25 16:48:17 -0400
commit720ff740e70e649a97fcf0232fec132569a52c7e (patch)
tree688533ec18f1d970b8c7671ef94be83b67720b80 /docs
parent0f6f80c2e7736ec4e2aa40287fe8c37ffff0a783 (diff)
Fixed #24215 -- Refactored lazy model operations
This adds a new method, Apps.lazy_model_operation(), and a helper function, lazy_related_operation(), which together supersede add_lazy_relation() and make lazy model operations the responsibility of the App registry. This system no longer uses the class_prepared signal.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/releases/1.9.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index abce521d75..494f482828 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -30,6 +30,8 @@ details on these changes.
* ``Field.remote_field.to`` attribute will be removed.
+* ``django.db.models.fields.add_lazy_relation`` will be removed.
+
.. _deprecation-removed-in-2.0:
2.0
diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt
index 9f15e9151a..3626cd0a40 100644
--- a/docs/releases/1.9.txt
+++ b/docs/releases/1.9.txt
@@ -372,6 +372,8 @@ Miscellaneous
:class:`~django.forms.SelectDateWidget` in ``django.forms.widgets``
(or simply ``django.forms``) instead.
+* Private API ``django.db.models.fields.add_lazy_relation()`` is deprecated.
+
.. removed-features-1.9:
Features removed in 1.9