1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/proxy_models
Aymeric Augustin 8662654d6d Removed module-level functions for the app cache.
Since the original ones in django.db.models.loading were kept only for
backwards compatibility, there's no need to recreate them. However, many
internals of Django still relied on them.

They were also imported in django.db.models. They never appear in the
documentation, except a quick mention of get_models and get_app in the
1.2 release notes to document an edge case in GIS. I don't think that
makes them a public API.

This commit doesn't change the overall amount of global state but
clarifies that it's tied to the app_cache object instead of hiding it
behind half a dozen functions.
2013-12-17 10:17:44 +01:00
..
fixtures Fixed #20777 -- Admin proxy model deletion regression 2013-08-19 09:51:41 +03:00
__init__.py
admin.py Fixed #20777 -- Admin proxy model deletion regression 2013-08-19 09:51:41 +03:00
models.py Fixing E302 Errors 2013-11-02 23:48:47 -05:00
tests.py Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
urls.py Fixed #20777 -- Admin proxy model deletion regression 2013-08-19 09:51:41 +03:00