summaryrefslogtreecommitdiff
path: root/tests/commands_sql
AgeCommit message (Collapse)Author
2013-12-17Moved the new app cache inside core.Aymeric Augustin
2013-12-17Deprecated get_app().Aymeric Augustin
2013-12-17Removed module-level functions for the app cache.Aymeric Augustin
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-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-16Fixed #19657 -- Made sql commands honor allow_migrateClaude Paroz
Thanks Manel Clos for the report and the initial patch, and Marc Tamlyn and Tim Graham for the review.
2013-10-13Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible.Aymeric Augustin
Thanks jpic for the report and chmodas for working on a patch. Reverts 2ea80b94. Refs #19362.
2013-05-29Fixed #15697 -- Made sqlindexes aware of auto-created tablesClaude Paroz
Thanks mbertheau for the report and Ash Christopher for the initial patch.
2013-05-27Fixed #20013 -- A test for sqlall fails under OracleShai Berger
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner