summaryrefslogtreecommitdiff
path: root/tests/schema
AgeCommit message (Collapse)Author
2014-02-02Ensure cursors are closed when no longer needed.Michael Manfre
This commit touchs various parts of the code base and test framework. Any found usage of opening a cursor for the sake of initializing a connection has been replaced with 'ensure_connection()'.
2014-01-25Fixed a failing schema assertion.Simon Charette
BooleanFields are stored as TINYINT(1) on MySQL.
2014-01-25Fixed #21783: More SQLite default fun with nulls.Andrew Godwin
2014-01-20Fixed two test failures under OracleShai Berger
2014-01-19Fixed #21783: Use defaults for adding NOT NULL on sqliteAndrew Godwin
2013-12-27Amend test table name so it doesn't clash.Ramiro Morales
Refs #21692 and 3efd1b8b939.
2013-12-27Fixed #21692 -- Quote table name when creating it.Ramiro Morales
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-17Deborgified the app cache.Aymeric Augustin
Improved Andrew's hack to create temporary app caches to handle migrations. Now the main app cache has a "master" flag set to True (which is a non-default keyword argument, thus unlikely to be used by mistake). Other app cache instances have "master" set to False. The only sanctioned way to access the app cache is by importing django.core.apps.app_cache. If you were instanciating an app cache and relying on the Borg pattern, you'll have to refactor your code.
2013-12-17Moved the new app cache inside core.Aymeric Augustin
2013-12-17Moved django.db.models.loading to django.apps.cache.Aymeric Augustin
This commit doesn't contain any code changes; it's purely a refactoring.
2013-12-11Fix altering of SERIAL columns and InnoDB being picky about FK changesAndrew Godwin
2013-11-25flake8 fixAlex Gaynor
2013-11-25Fixed test failure on OracleShai Berger
Failure was introduced with test in [19e5cd77f0536b778b00788e34d8199835143855]
2013-11-24Fixed #21497 -- Forced conversion to bytes for very long index namesJoel Bohman
2013-11-03Fixed all E251 violationsAlex Gaynor
2013-10-19Removed unused local variables in tests.Tim Graham
2013-09-24Fixed #21151 -- Bad cleanup in schema M2M repoint testAndrew Godwin
2013-09-06Fixed #21029: Test for previously-commited SchemaEditor.__exit__ bug.Andrew Godwin
2013-09-03Updated syncdb -> migrate in tests.Tim Graham
2013-09-03Removed references to django.utils.unittest which is PendingDeprecationTim Graham
2013-08-30Fixed #21005 -- Made schema tests language-independentClaude Paroz
Thanks Simon Charette for the review.
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-08-23Fix some small errors in the testsAndrew Godwin
2013-08-19Add more stringent M2M tests and fix the bug they exposedAndrew Godwin
2013-08-13Oracle schema backend, passes most tests and is pretty complete.Andrew Godwin
2013-08-11Support index_together during model creationAndrew Godwin
2013-07-02Make get_constraints return columns in orderAndrew Godwin
2013-07-02Fix index_together testAndrew Godwin
2013-07-02Support for index_together in schema backendsAndrew Godwin
2013-07-02Fix M2M interaction with transactionsAndrew Godwin
2013-06-19First stab at some migration creation commandsAndrew Godwin
2013-05-29Start adding operations that work and tests for themAndrew Godwin
2013-05-18More conversion to a ContextManager schema_editorAndrew Godwin
2013-05-09Split out a BaseAppCache, make AppCache borg again, add _meta.app_cacheAndrew Godwin
2013-04-19Fix schema editor interaction with new transactionsAndrew Godwin
2013-04-18Merge branch 'master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/__init__.py django/db/backends/mysql/base.py django/db/backends/oracle/base.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/base.py django/db/backends/sqlite3/base.py django/db/models/fields/related.py