From 720ff740e70e649a97fcf0232fec132569a52c7e Mon Sep 17 00:00:00 2001 From: Alex Hill Date: Tue, 3 Mar 2015 16:43:56 +0800 Subject: 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. --- docs/internals/deprecation.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/internals') 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 -- cgit v1.3