diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 21:47:55 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-29 21:48:58 +0100 |
| commit | 34a215d5066f8ae0629070916714801b0ea03eab (patch) | |
| tree | c56d1fd107828a9c9d09a243b914237f21a37d0c /docs | |
| parent | e5bcd1d455cd11d3892adf6717a51ae04169f705 (diff) | |
Deprecated the app argument of apps.get_models.
Use app_config.get_models() instead.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.7.txt | 5 |
1 files changed, 3 insertions, 2 deletions
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. |
