Restored aliases for two APIs removed by app-loading.
This commit is contained in:
parent
f732d55dfc
commit
7ba29189fa
|
@ -10,6 +10,10 @@ warnings.warn(
|
||||||
__all__ = ('get_apps', 'get_app', 'get_models', 'get_model', 'register_models',
|
__all__ = ('get_apps', 'get_app', 'get_models', 'get_model', 'register_models',
|
||||||
'load_app', 'app_cache_ready')
|
'load_app', 'app_cache_ready')
|
||||||
|
|
||||||
|
# Backwards-compatibility for private APIs during the deprecation period.
|
||||||
|
UnavailableApp = LookupError
|
||||||
|
cache = apps
|
||||||
|
|
||||||
# These methods were always module level, so are kept that way for backwards
|
# These methods were always module level, so are kept that way for backwards
|
||||||
# compatibility.
|
# compatibility.
|
||||||
get_apps = apps.get_apps
|
get_apps = apps.get_apps
|
||||||
|
|
Loading…
Reference in New Issue