summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2014-06-16Fixed #22851: BinaryView wasn't getting a binary defaultAndrew Godwin
2014-06-16Renamed DatabaseFeature.supports_check_constraints to ↵Tim Graham
supports_column_check_constraints. Thanks maxi for the suggestion.
2014-06-16Ignore more blank throughs on swapped-out M2MsAndrew Godwin
2014-06-16Ignore through being None on some special cases of fields.Andrew Godwin
2014-06-16Fixed flake8 error.Tim Graham
2014-06-16Fixed #22847: Optimizer wasn't expecting unresolved FKsAndrew Godwin
2014-06-16Fixed #22783: Make sure swappable models come first in creationAndrew Godwin
2014-06-16Fixed #22848: Ignore no-migrations errors during makemigrations onlyAndrew Godwin
2014-06-16Use __first__ not __latest__ for unknown app dependenciesAndrew Godwin
2014-06-16Fixed #22788 -- Ensured custom migration operations can be written.Matthew Schinckel
This inspects the migration operation, and if it is not in the django.db.migrations module, it adds the relevant imports to the migration writer and uses the correct class name.
2014-06-16Fixed #22844: Duplicate SQL for SQLite FKsAndrew Godwin
2014-06-15Fixed several flake8 errorsAlex Gaynor
2014-06-15Fixed #22568: Better proxy model support in migrationsAndrew Godwin
2014-06-15Fixed #22470: Full migration support for order_with_respect_toAndrew Godwin
2014-06-15Persist non-schema-relevant Meta changes in migrationsAndrew Godwin
2014-06-15Fixed #22833: Autodetector not doing through mapping correctlyAndrew Godwin
2014-06-15Fixed #22563: Added migration to admin, fixed a few more loader issues.Andrew Godwin
2014-06-15Improve error message for missing migrations in an appAndrew Godwin
2014-06-15Merge pull request #2806 from jorgecarleitao/issue22826Marc Tamlyn
Fixed #22826 -- Improved internal usage of Query.setup_joins.
2014-06-14Improved code style of Query.table_alias() usage.Jorge C. Leitão
2014-06-14Removed unnecessary attribute assigment to SQLCompiler.Jorge C. Leitão
2014-06-14Fixed #22826 -- Improved internal usage of Query.setup_joins.Jorge C. Leitão
2014-06-14Fixed #22816 -- Corrected Oracle feature flag and fixed introspection testShai Berger
2014-06-13Added django.utils.six.buffer_typesShai Berger
and used it in the Oracle SchemaEditor. Refs #22715.
2014-06-12Fix test breakage from previous state fixAndrew Godwin
2014-06-12Fixed #22823 (and partly #22563) - FKs from unmigrated apps breaking state.Andrew Godwin
Thanks to bendavis78 for the test and diagnostic work.
2014-06-12Silenced deprecation warnings for refs #22811 and fixed build.Tim Graham
2014-06-12Fixed #22811 -- Allowed setting both the old and new TEST database settings.Tim Graham
An ImproperlyConfigured exception will be raised they mismatch.
2014-06-11Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets ↵Anubhav Joshi
from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch.
2014-06-09Dropped support for SpatiaLite < 2.4.Tim Graham
2014-06-09Fixed #20420 -- Normalized query counts on Oracle.Aymeric Augustin
This is achieved by inserting a fake entry in connection.queries when not releasing a savepoint (since Oracle doesn't support that operation.) Also removed the can_release_savepoints feature that was recently added, but is superseded by this solution.
2014-06-09Simplified handling of use_debug_cursor.Aymeric Augustin
Turned it from a tri-valued boolean into a regular boolean.
2014-06-09Tweaked order of create_test_db arguments for backwards compatibility.Tim Graham
Since `serialize` was backported to 1.7, it should appear before `keepdb`.
2014-06-08Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
2014-06-08Fixed #22777: Add dependency on through for autodetected M2M addsAndrew Godwin
2014-06-07Fixed #22750, #22248: Model renaming now also alters field FKsAndrew Godwin
2014-06-07Removed usage of deprecated django.utils.importlib.Tim Graham
2014-06-07Fixed #22436: More careful checking on method ref'ce serializationAndrew Godwin
2014-06-07Fixed #17427 -- Removed dubious definition of connections equality.Aymeric Augustin
2014-06-07Fixed #3711, #6734, #12581 -- Bounded connection.queries.Aymeric Augustin
Prevented unlimited memory consumption when running background tasks with DEBUG=True. Thanks Rob, Alex, Baptiste, and others.
2014-06-06Fixed flake8 errors.Tim Graham
2014-06-06Merge pull request #2764 from gchp/ticket-20550Aymeric Augustin
Fixed #20550 -- Added keepdb argument to destroy_test_db
2014-06-05Prevent operation pollution by later operations of fieldsAndrew Godwin
2014-06-05Rewrote migration autodetector to involve actual computer science.Andrew Godwin
Fixes #22605, #22735; also lays the ground for some other fixes.
2014-06-05Merge pull request #2736 from SmileyChris/migration-run_beforeAndrew Godwin
Fixed #22725 - Migration.run_before does nothing
2014-06-06Replaced an explicit vendor check by a feature flag.Aymeric Augustin
Forward-port of c9aedce0 from stable/1.7.x.
2014-06-05Fixed #20550 -- Added keepdb argument to destroy_test_dbGreg Chapple
2014-06-05Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵Anubhav Joshi
ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
2014-06-05Added a flag for the ability to introspect nullable fields.Aymeric Augustin
Previously this was conflated with another Oracle-specific behavior.
2014-06-02Fixed #22690 -- Added a check for proxy models containing fields.Craig de Stigter
Removed the FieldError raised by ModelBase.__new__ in this case.