| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-17 | [2.0.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign ↵ | Simon Charette | |
| key checks are enabled. Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review. Backport of 315357ad25a6590e7f4564ec2e56a22132b09001 from master. | |||
| 2018-12-07 | [2.0.x] Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+. | Simon Charette | |
| SQLite 3.26 repoints foreign key constraints on table renames even when foreign_keys pragma is off which breaks every operation that requires a table rebuild to simulate unsupported ALTER TABLE statements. The newly introduced legacy_alter_table pragma disables this behavior and restores the previous schema editor assumptions. Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and troubleshooting assistance. Backport of c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f from master. | |||
| 2017-12-22 | [2.0.x] Fixed #28884 -- Fixed crash on SQLite when renaming a field in a ↵ | Simon Charette | |
| model referenced by a ManyToManyField. Introspected database constraints instead of relying on _meta.related_objects to determine whether or not a table or a column is referenced on rename operations. This has the side effect of ignoring both db_constraint=False and virtual fields such as GenericRelation which aren't backend by database level constraints and thus shouldn't prevent the rename operations from being performed in a transaction. Regression in 095c1aaa898bed40568009db836aa8434f1b983d. Thanks Tim for the additional tests and edits, and Mariusz for the review. Backport of 9f7772e098439f9edea3d25ab127539fc514eeb2 from master | |||
| 2017-12-12 | [2.0.x] Fixed #28915 -- Prevented SQLite from truncating trailing zeros in ↵ | Sergey Fedoseev | |
| the fractional part of DecimalField. This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds a test for the regression. Backport of 6fd6d8383f48ea2fe4e058725fa30529a083e9a5 from master | |||
| 2017-12-01 | [2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite. | Simon Charette | |
| Thanks Ramiro for the input and Tim for the review. Backport of 095c1aaa898bed40568009db836aa8434f1b983d from master | |||
| 2017-09-18 | Changed default value of DatabaseFeatures.has_bulk_insert to True. | Mads Jensen | |
| 2017-09-13 | Refs #27090 -- Added real database sequence introspection. | Mariusz Felisiak | |
| Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review. | |||
| 2017-09-11 | Fixed #28578 -- Renamed DatabaseCreation number arguments to suffix. | Jon Dufresne | |
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-09-06 | Replaced @cached_property with class attributes where possible. | Sergey Fedoseev | |
| 2017-08-11 | Replaced typecast_decimal() with decimal.Decimal(). | Sergey Fedoseev | |
| 2017-08-10 | Refs #28459 -- Improved performance of loading DecimalField on SQLite. | Sergey Fedoseev | |
| 2017-08-09 | Simplified SQLite converter for bool type. | Sergey Fedoseev | |
| 2017-07-27 | Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't ↵ | Mariusz Felisiak | |
| provided. Thanks Tim Graham for the review. | |||
| 2017-07-20 | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | |
| Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | |||
| 2017-07-17 | Fixed #28391 -- Fixed Cast() with CharField and max_length on MySQL. | Mariusz Felisiak | |
| Thanks Tim Graham for the review. | |||
| 2017-07-11 | Fixed #14204 -- Enforced SQLite foreign key constraints. | Claude Paroz | |
| Thanks Tim Graham for contributing to the patch and Simon Charette for advice and review. | |||
| 2017-07-06 | Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value ↵ | Mariusz Felisiak | |
| with similar methods. | |||
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-06-21 | Refs #25530 -- Deleted deferred SQL references on delete operation. | Simon Charette | |
| 2017-06-21 | Refs #25530 -- Tracked references of deferred SQL statements. | Simon Charette | |
| 2017-06-08 | Fixed #28103 -- Added quarter extract, truncation, and lookup. | Mads Jensen | |
| Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review. | |||
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-05-23 | Refs #27859 -- Added DatabaseWrapper.display_name. | Mariusz Felisiak | |
| Thanks Tim Graham for the review. | |||
| 2017-04-27 | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-03-24 | Refs #21160 -- Replaced DatabaseFeatures.supports_1000_query_parameters by a ↵ | Mariusz Felisiak | |
| DatabaseFeatures.max_query_params. | |||
| 2017-03-04 | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-28 | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-02-15 | Fixed #27135 -- Made index introspection return Index.suffix. | Tim Graham | |
| 2017-02-09 | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | |
| 2017-02-06 | Fixed #27802 -- Unified return value of db backend datetime SQL methods. | Mariusz Felisiak | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-20 | Refs #23919 -- Removed pysqlite support (it's Python 2 only). | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-17 | Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. | Tim Graham | |
| 2017-01-17 | Refs #19738 -- Removed timezone conversion in SQL queries executed outside ↵ | Tim Graham | |
| of the ORM. Per deprecation timeline. | |||
| 2017-01-16 | Moved unneeded ImproperlyConfigured inner imports. | Tim Graham | |
| 2017-01-11 | Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL. | François Freitag | |
| Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review. | |||
| 2016-11-30 | Refs #24245 -- Added introspection for database defaults on Oracle. | Mariusz Felisiak | |
| 2016-11-29 | Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash on SQLite. | Andrew Nester | |
| 2016-11-28 | Fixed #27321 -- Added detection for table case name sensitivity on MySQL. | Adam Chainz | |
| 2016-11-25 | Fixed grammar in sqlite's DatabaseOperations.bulk_batch_size()'s docstring. | Daniel Hahler | |
| 2016-11-14 | Fixed #27481 -- Made SQLite return annotated boolean values as boolean, not ↵ | Sergey Fedoseev | |
| integer. Thanks Simon Charette for review. | |||
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
