| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-11-12 | [4.0.x] Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | |
| Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. Backport of 661316b066923493ff91d6d2aa92e463f595a6b1 from main. | |||
| 2021-10-18 | [4.0.x] Fixed #33194 -- Fixed migrations when altering a field with ↵ | Hannes Ljungberg | |
| functional indexes/unique constraints on SQLite. This adjusts Expressions.rename_table_references() to only update alias when needed. Regression in 83fcfc9ec8610540948815e127101f1206562ead. Co-authored-by: Simon Charette <charettes@users.noreply.github.com> Backport of 86971c40909430a798e4e55b140004c4b1fb02ff from main | |||
| 2021-10-01 | [4.0.x] Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() ↵ | Daniel Hahler | |
| on PostgreSQL. Backport of 98c8bf1ceeab5c68751c83555f82cff1a9120a67 from main | |||
| 2021-08-20 | Fixed #33017 -- Fixed storage engine introspection on MySQL. | Matjaz Gregoric | |
| This also improves performance on MySQL instances with a large number of databases, since querying the information_schema table can be very slow | |||
| 2021-07-07 | Used more specific unittest assertions in tests. | Mads Jensen | |
| 2021-07-05 | Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert". | Mateo Radman | |
| 2021-07-02 | Fixed #30934 -- Included database alias in django.db.backends log messages. | Nick Pope | |
| This is useful when working with database routing as you want to know where each query is being executed. Co-authored-by: David Winterbottom <david.winterbottom@gmail.com> | |||
| 2021-04-30 | Fixed #32653 -- Made quoting names in the Oracle backend consistent with ↵ | Mariusz Felisiak | |
| db_table. | |||
| 2021-04-27 | Fixed #32687 -- Restored passing process’ environment to underlying tool ↵ | Konstantin Alekseev | |
| in dbshell on PostgreSQL. Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3. | |||
| 2021-03-30 | Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes. | Mariusz Felisiak | |
| 2021-03-30 | Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values ↵ | Mariusz Felisiak | |
| with Unicode chars. | |||
| 2021-03-25 | Fixed #32582 -- Removed unnecessary dot in names of cloned test databases on ↵ | Girish Sontakke | |
| SQLite. | |||
| 2021-03-24 | Optimized FkConstraintsTests.test_check_constraints by specifying a database ↵ | Mariusz Felisiak | |
| table. | |||
| 2021-02-02 | Fixed #32403 -- Fixed re-raising DatabaseErrors when using only 'postgres' ↵ | Mariusz Felisiak | |
| database. Thanks Kazantcev Andrey for the report. Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe. | |||
| 2021-01-20 | Fixed #32292 -- Added support for connection by service name to PostgreSQL. | Hasan Ramezani | |
| 2021-01-14 | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | |
| 2021-01-13 | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | |
| Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu> | |||
| 2020-12-30 | Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0. | Mariusz Felisiak | |
| 2020-12-28 | Fixed #32158 -- Fixed loaddata crash on SQLite when table/column names are ↵ | Chinmoy Chakraborty | |
| SQL keywords. | |||
| 2020-12-11 | Refs #32178 -- Fixed test_mark_expected_failures_and_skips_call teardown. | Tim Graham | |
| Test isolation failure observed on CockroachDB and PostgreSQL. | |||
| 2020-12-10 | Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵ | Hasan Ramezani | |
| failures. Co-authored-by: Tim Graham <timograham@gmail.com> | |||
| 2020-11-25 | Fixed #32224 -- Avoided suppressing connection errors in supports_json_field ↵ | Mariusz Felisiak | |
| on SQLite.` Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Juan Garcia Alvite for the report. | |||
| 2020-11-11 | Fixed #31762 -- Made reloading the database for tests use the base manager. | Hasan Ramezani | |
| Co-authored-by: Eugene Kulak <kulak.eugene@gmail.com> | |||
| 2020-10-29 | Refs #32061 -- Unified DatabaseClient.runshell() in db backends. | Simon Charette | |
| 2020-10-28 | Made small readability improvements. | Martin Thoma | |
| 2020-09-23 | Fixed #32012 -- Made test database creation sync apps models when migrations ↵ | Mariusz Felisiak | |
| are disabled. Thanks Jaap Roes for the report. | |||
| 2020-09-13 | Corrected tests.backends.sqlite.tests.Tests.test_aggregation()'s docstring. | Mariusz Felisiak | |
| 2020-08-28 | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | |
| on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. | |||
| 2020-07-30 | Bumped minimum isort version to 5.1.0. | David Smith | |
| Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | |||
| 2020-07-20 | Fixed #17653 -- Allowed using zero as AutoFields value on MySQL if ↵ | Mariusz Felisiak | |
| NO_AUTO_VALUE_ON_ZERO SQL mode is enabled. | |||
| 2020-06-30 | Fixed #28925 -- Fixed durations-only expressions crash on SQLite and MySQL. | Sergey Fedoseev | |
| This removes also unused DatabaseOperations.date_interval_sql(). | |||
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-05-06 | Fixed a/an typos in "SQL" usage. | Adam Johnson | |
| 2020-04-21 | Fixed backends.oracle.test_operations. | Mariusz Felisiak | |
| Using unittest.TestCase doesn't work properly when we perform db queries. Moreover introspection is extremely slow on Oracle without limiting models to a "backends" app. Follow up to 8bcca47e8356521f52f0738d9633befd53007cae. | |||
| 2020-04-21 | Fixed #31479 -- Added support to reset sequences on SQLite. | Jon Dufresne | |
| 2020-04-20 | Capitalized Unicode in docs, strings, and comments. | Jon Dufresne | |
| 2020-04-20 | Fixed #31477 -- Removed "using" argument from ↵ | Jon Dufresne | |
| DatabaseOperations.execute_sql_flush(). | |||
| 2020-04-18 | Simplified LongNameTest.test_sequence_name_length_limits_flush() with ↵ | Jon Dufresne | |
| execute_sql_flush(). | |||
| 2020-04-17 | Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵ | Jon Dufresne | |
| PostgreSQL. The sql_flush() positional argument sequences is replaced by the boolean keyword-only argument reset_sequences. This ensures that the old function signature can't be used by mistake when upgrading Django. When the new argument is True, the sequences of the truncated tables will reset. Using a single boolean value, rather than a list, allows making a binary yes/no choice as to whether to reset all sequences rather than a working on a completely different set. | |||
| 2020-04-17 | Added test coverage for DatabaseOperations.sql_flush(). | Jon Dufresne | |
| 2020-04-08 | Fixed typo in tests/backends/base/test_operations.py. | Mariusz Felisiak | |
| 2020-04-02 | Refs #31051 -- Fixed reloading the database with circular related objects ↵ | Matthijs Kooijman | |
| and natural keys for tests. Made deserialize_db_from_string() do not sort dependencies. deserialize_db_from_string() doesn't use natural keys, so there is no need to sort dependencies in serialize_db_to_string(). Moreover, sorting models cause issues for circular dependencies. | |||
| 2020-04-02 | Refs #26552 -- Added test for reloading the database with self-referential ↵ | Matthijs Kooijman | |
| objects. | |||
| 2020-03-06 | Fixed #31345 -- Added BaseDatabaseIntrospection.get_relations(). | shankarj67 | |
| 2020-03-04 | Fixed #31333 -- Added BaseDatabaseIntrospection.get_table_description(). | aryan | |
| 2020-03-04 | Added tests for BaseDatabaseIntrospection's stub methods. | Mariusz Felisiak | |
| 2020-02-24 | Fixed backends tests on Oracle. | Mariusz Felisiak | |
| Using Person in test_introspection caused removing constraints in intermediate table for ManyToManyField in VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ that were expected by other transaction tests. A model without any constraints was used to prevent isolation issues. | |||
| 2020-02-19 | Fixed tests when run in reverse. | Mariusz Felisiak | |
| Regression in 98f23a8af0be7e87535426c5c83058e2682bfdf8. | |||
| 2020-02-18 | Fixed #31271 -- Preserved ordering when unifying query parameters on Oracle. | Mariusz Felisiak | |
| This caused misplacing parameters in logged SQL queries. Regression in 79065b55a70cd220820a260a1c54851b7be0615a. Thanks Hans Aarne Liblik for the report. | |||
