| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-12-28 | Fixed #32158 -- Fixed loaddata crash on SQLite when table/column names are ↵ | Chinmoy Chakraborty | |
| SQL keywords. | |||
| 2020-10-28 | Made small readability improvements. | Martin Thoma | |
| 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-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-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. | |||
| 2020-02-06 | Fixed #31233 -- Closed database connections and cursors after use. | Jon Dufresne | |
| 2020-01-20 | Refs #31117 -- Made various tests properly handle unexpected databases aliases. | Matthijs Kooijman | |
| - Used selected "databases" instead of django.db.connections. - Made routers in tests.migrations skip migrations on unexpected databases. - Added DiscoverRunnerGetDatabasesTests.assertSkippedDatabases() hook which properly asserts messages about skipped databases. | |||
| 2019-04-29 | Added tests for queries log in CursorDebugWrapper.executemany(). | Mariusz Felisiak | |
| 2019-04-05 | Refs #20010 -- Unified DatabaseOperations.last_executed_query() on Oracle ↵ | Mariusz Felisiak | |
| with other db backends. Thanks Simon Charette for the review. | |||
| 2019-02-14 | Fixed #30171 -- Fixed DatabaseError in servers tests. | Jon Dufresne | |
| Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b. | |||
| 2019-02-09 | Removed uneeded iter() calls with generator expression as argument. | Sergey Fedoseev | |
| 2018-12-24 | Fixed #30056 -- Added SQLite support for StdDev and Variance functions. | Nick Pope | |
| 2018-12-22 | Refs #14204 -- Removed obsolete referential integrity comment for SQLite. | Nick Pope | |
| 2018-11-21 | Fixed #29949 -- Refactored db introspection identifier converters. | Mariusz Felisiak | |
| Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review. | |||
| 2018-05-09 | Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). | Morgan Aubert | |
| 2017-11-28 | Fixed #28853 -- Updated connection.cursor() uses to use a context manager. | 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-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-06-21 | Reorganized backends tests. | Mariusz Felisiak | |
| 2017-06-13 | Fixed #27830 -- Used distutils.version.LooseVersion for version parsing. | chillaranand | |
| 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-03-01 | Removed PostgreSQL version detection for psycopg2 < 2.0.12. | Tim Graham | |
| 2017-03-01 | Fixed a backends test with psycopg2 2.7. | Tim Graham | |
| 2017-01-26 | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | |
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 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 encoding preambles and future imports | Claude Paroz | |
| 2016-12-29 | Fixed #27649 -- Bumped required cx_Oracle to 5.2. | Tim Graham | |
| Removed obsolete workarounds from 1aa48898085ea16915877cc139e238a74e3f554b and dcf3be7a621f011a918453527406216a738acf68. | |||
| 2016-12-08 | Imported specific models in a few tests that didn't. | Tim Graham | |
| 2016-12-07 | Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. | Tim Graham | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-08 | Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing. | Chris Jerdonek | |
| 2016-05-21 | Removed an obsolete comment about a fixed ticket. | Simon Charette | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-02-08 | Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-21 | Fixed #26063 -- Crash when passing > 2000 params. | Aymeric Augustin | |
| If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does by setting the former to 250000, Django raised an exception on queries containing more than 2000 parameters when DEBUG = True. | |||
| 2015-11-14 | Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. | Simon Charette | |
| 2015-10-06 | Refs #12118 -- Allowed "mode=memory" in SQLite test database names. | Riccardo Magliocchetti | |
| 2015-09-17 | Refs #14091 -- Fixed connection.queries on SQLite. | Aymeric Augustin | |
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-09-11 | Fixed #25329 -- Prevented _nodb_connection from being left open | Adam Chainz | |
| 2015-09-09 | Changed database connection duplication technique. | Aymeric Augustin | |
| This new technique is more straightforward and compatible with test parallelization, where the effective database connection settings no longer match settings.DATABASES. | |||
