summaryrefslogtreecommitdiff
path: root/tests/commands_sql
AgeCommit message (Collapse)Author
2015-01-18Removed support for syncing apps without migrations per deprecation timeline.Tim Graham
Kept support for creating models without migrations when running tests (especially for Django's test suite).
2014-12-31Moved DatabaseCreation.data_types properties to DatabaseWrapper.Tim Graham
refs #22340.
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-12-27Fixed #14180 -- Prevented unneeded index creation on MySQL-InnoDBClaude Paroz
Thanks zimnyx for the report and Simon Charette, Tim Graham for the reviews.
2014-12-23Replaced DatabaseCreation sql methods by schema editor equivalentsClaude Paroz
Also used schema editor in migrate to sync unmigrated apps (sync_apps). Refs #22340. Thanks Tim Graham for the review.
2014-12-01Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs ↵wrwrwr
#23933.
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-09-06Fixed #23416 -- Make sure DatabaseCreation respects checks.Marc Tamlyn
Migrations respected Field.db_parameters()['check'], but DatabaseCreation was still using just Field.db_type().
2014-08-28Fixed an Oracle test failure introduced by 1e404180c1.Simon Charette
2014-08-28Fixed #23379 -- Corrected a referencing issue in sql_create.Simon Charette
Thanks to Trac alias flakfizer for the report.
2014-08-18Fixed #23136 -- Added a message when sqlclear does nothingGabriel Muñumel
2014-06-08Fix router_honored test to not close connectionAndrew Godwin
2013-12-29Changed sql_* to use an app config instead of a models module.Aymeric Augustin
2013-12-24Renamed AppCache to Apps.Aymeric Augustin
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
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