| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-24 | Added import locations to contrib.postgres aggregates and validators docs. | Marten Kenbeek | |
| 2018-12-24 | Refs #29004 -- Prevented inspectdb tests from flushing all tables data. | Simon Charette | |
| This is a costly operation on most database backends. | |||
| 2018-12-24 | Refs #26840 -- Corrected SQLite connection mocking in a setup_databases() test. | Simon Charette | |
| The test was expecting connections used by DiscoverRunner.setup_databases() to be the ones defined in django.test.runner but this doesn't hold true since this method was made a proxy of django.test.utils.setup_databases. This broke the TransactionTestCase.serialized_rollback feature in the test suite because calls to create_db_test() cleared the test data persisted on connections objects. Added an assertions to prevent this from happening again. | |||
| 2018-12-24 | Fixed #30056 -- Added SQLite support for StdDev and Variance functions. | Nick Pope | |
| 2018-12-24 | Fixed #20098 -- Added a check for model Meta.db_table collisions. | Sanyam Khurana | |
| 2018-12-22 | Renamed Sqlite and Sqlite3 references to SQLite. | Nick Pope | |
| 2018-12-22 | Refs #14204 -- Removed obsolete referential integrity comment for SQLite. | Nick Pope | |
| 2018-12-22 | Fixed #29970, #30041 -- Made ModelBase.__new__() pass attrs without ↵ | Sergey Fedoseev | |
| contribute_to_class() to type.__new__(). | |||
| 2018-12-22 | Fixed #30054 -- Implemented cascaded flush on SQLite. | Simon Charette | |
| This is required to maintain foreign key integrity when using TransactionTestCase.available_apps. Refs #30033, #14204, #20483. | |||
| 2018-12-22 | Fixed #30055 -- Dropped support for SQLite < 3.8.3. | Tim Graham | |
| 2018-12-22 | Refs #30033 -- Checked constraints before committing SQLite schema changes. | Simon Charette | |
| This order of operations is more in line with SQLite's documented table rebuild procedure and ensures that changes aren't committed if foreign key integrity is broken. | |||
| 2018-12-22 | Refs #29928 -- Added supports_pragma_foreign_key_check SQLite feature flag. | Simon Charette | |
| 2018-12-22 | Refs #29928 -- Corrected SQLite's can_defer_constraint_checks feature flag. | Simon Charette | |
| 2018-12-22 | Refs #29182 -- Corrected SQLite's supports_atomic_references_rename feature ↵ | Simon Charette | |
| flag. | |||
| 2018-12-22 | Refs #29547 -- Corrected SQLite's supports_partial_indexes feature flag. | Simon Charette | |
| 2018-12-22 | Refs #29928 -- Adjusted release notes of SQLite test constraint checking. | Simon Charette | |
| 2018-12-22 | Renamed SQLite3 references to to SQLite. | Simon Charette | |
| The version suffix isn't part of the product name. | |||
| 2018-12-21 | Fixed #29750 -- Added View.setup() hook for class-based views. | François Freitag | |
| 2018-12-21 | Fixed #29995 -- Used higher contrast colors in debug page. | Zach Garwood | |
| 2018-12-21 | Removed an overridden CSS rule in debug page. | Tim Graham | |
| 2018-12-21 | Fixed #29792 -- Made GeometryField.deconstruct() handle 'extent' and ↵ | jtiai | |
| 'tolerance' args. | |||
| 2018-12-21 | Added tests for GeometryField.deconstruct(). | jtiai | |
| 2018-12-21 | Added tests for ContentType/Group/Permission.__str__(). | Tim Graham | |
| 2018-12-21 | Fixed Polish MONTH_DAY_FORMAT. | wiktorkuchta | |
| 2018-12-20 | Refs #30015 -- Added 2.1.5 release note and removed 'we' in comments. | Carlton Gibson | |
| 2018-12-19 | Replaced loop with dictionary comprehension. | Toivo Mattila | |
| 2018-12-19 | Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations. | Dakota Hawkins | |
| 2018-12-19 | Fixed #30015 -- Ensured request body is properly consumed for keep-alive ↵ | Konstantin Alekseev | |
| connections. | |||
| 2018-12-17 | Fixed #29928 -- Enabled deferred constraint checks on SQLite 3.20+. | Simon Charette | |
| Refs #11665, #14204. Thanks Michel Samia for the report. | |||
| 2018-12-17 | Refs #29182 -- Stopped relying on legacy alter table semantic on SQLite 3.26+. | Simon Charette | |
| SQLite 3.26 changed the behavior of table and column renaming operations to repoint foreign key references even if foreign key checks are disabled. This makes the workarounds in place to simulate this behavior unnecessary on SQLite 3.26+. Refs #30033. | |||
| 2018-12-17 | Fixed #30033 -- Conformed to the recommended table alterations procedure on ↵ | Simon Charette | |
| SQlite3. Refs #29182. The previous implementation was following a procedure explicitly documented as incorrect and was the origin of the breakage experienced on SQLite 3.26 release that were addressed by c8ffdbe514b55ff5c9a2b8cb8bbdf2d3978c188f. Thanks to Richard Hipp for pointing out the usage of the incorrect procedure. | |||
| 2018-12-17 | Refs #29928 -- Implemented fast constraint checking on SQLite 3.20+. | Simon Charette | |
| 2018-12-16 | Fixed typo in contrib.gis variable name. | HyunTae Hwang | |
| 2018-12-15 | Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks ↵ | Simon Charette | |
| 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. | |||
| 2018-12-12 | Fixed #30036 -- Removed unused imports in pagination example. | Carlton Gibson | |
| 2018-12-10 | Moved choices inside of test models per coding style. | Manan | |
| 2018-12-10 | Refs #28670 -- Fixed DatabaseFeatures.supports_slicing_ordering_in_compound ↵ | Mariusz Felisiak | |
| on Oracle. | |||
| 2018-12-09 | Added blank line in docs/releases/2.2.txt. | Jon Dufresne | |
| 2018-12-07 | 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. | |||
| 2018-12-06 | Fixed #28766 -- Added ResolverMatch.route. | Benjamin Wohlwend | |
| Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr> | |||
| 2018-12-06 | Fixed #29895 -- Doc'd why MySQL's atomic DDL statements don't work for ↵ | Rodrigo | |
| atomic migrations. | |||
| 2018-12-06 | Fixed #29932 -- Fixed combining compound queries with sub-compound queries ↵ | Mariusz Felisiak | |
| on SQLite and Oracle. | |||
| 2018-12-06 | Fixed #29986 -- Added .format() support to ngettext_lazy strings. | Patrick Arminio | |
| 2018-12-06 | Fixed #30011 -- Fixed queries that reuse filtered aggregates. | Simon Charette | |
| Thanks Taqi Abbas and Raphael Kimmig for the report. | |||
| 2018-12-06 | Bumped mysqlclient requirement to >= 1.3.13. | Tim Graham | |
| There are test failures with older versions. | |||
| 2018-12-06 | Fixed #30003 -- Added usable entry point in default manage.py. | jpic | |
| 2018-12-05 | Reverted "Fixed #25251 -- Made data migrations available in ↵ | Tim Graham | |
| TransactionTestCase when using --keepdb." This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and 9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures for which a solution isn't forthcoming. | |||
| 2018-12-05 | Refs #30013 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.3.14+. | Tim Graham | |
| 2018-12-05 | Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with ↵ | Tim Graham | |
| mysqlclient 1.3.14+. | |||
| 2018-12-04 | Tested exception messages in generic_views tests. | François Freitag | |
