From 34a215d5066f8ae0629070916714801b0ea03eab Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 29 Dec 2013 21:47:55 +0100 Subject: Deprecated the app argument of apps.get_models. Use app_config.get_models() instead. --- docs/releases/1.7.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 5416d9dc0b..b4ee180c73 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -615,8 +615,9 @@ setting directly and use the app registry (:attr:`django.apps.apps`) instead. The "app registry" that manages the list of installed applications doesn't have the same features as the old "app cache". Even though the "app cache" was -a private API, obsolete methods will be removed after a standard deprecation -period. In addition, the following changes take effect immediately: +a private API, obsolete methods and arguments will be removed after a standard +deprecation period. In addition, the following changes take effect +immediately: * ``get_model`` raises :exc:`~exceptions.LookupError` instead of returning ``None`` when no model is found. -- cgit v1.3