django/tests/migrations
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
..
faulty_migrations Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
migrations_test_apps Fixed #21283 -- Added support for migrations if models is a package. 2013-10-19 09:48:57 -04:00
test_migrations Whitespace cleanup. 2013-10-10 16:49:20 -04:00
test_migrations_2 Whitespace cleanup. 2013-10-10 16:49:20 -04:00
test_migrations_conflict Migration VCS conflict detection and --merge for makemigrations 2013-12-04 16:01:49 +00:00
test_migrations_squashed Fix migration planner to fully understand squashed migrations. And test. 2013-10-23 22:56:54 +01:00
__init__.py Adding a dependency graph class and tests 2013-05-10 12:52:04 +01:00
models.py Moved django.db.models.loading to django.apps.cache. 2013-12-17 10:17:43 +01:00
test_autodetector.py Migration VCS conflict detection and --merge for makemigrations 2013-12-04 16:01:49 +00:00
test_base.py Fix some small errors in the tests 2013-08-23 12:07:43 +01:00
test_commands.py Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
test_executor.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
test_graph.py Fix graph tests 2013-05-30 17:56:53 +01:00
test_loader.py Fix migration planner to fully understand squashed migrations. And test. 2013-10-23 22:56:54 +01:00
test_operations.py Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
test_optimizer.py flake8 fixes 2013-11-06 20:00:48 -08:00
test_state.py Moved django.db.models.loading to django.apps.cache. 2013-12-17 10:17:43 +01:00
test_writer.py Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00