Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34370 -- Added integer fields validation as 64-bit on SQLite. | nabil-rady | 2023-03-08 | 1 | -2/+9 |
| | |||||
* | Removed obsolete references to pysqlite. | Nick Pope | 2022-11-04 | 1 | -3/+1 |
| | | | | Obsolete since 1b06d5e6f6be8e567ce78c892c485af039830d7d. | ||||
* | Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters. | Simon Charette | 2022-07-06 | 1 | -24/+24 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -2/+5 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -77/+106 |
| | |||||
* | Fixed #33460 -- Used VALUES clause for insert in bulk on SQLite. | Keryn Knight | 2022-01-24 | 1 | -4/+3 |
| | | | | | | SQLite 3.7.11 introduced the ability to use multiple values directly. SQLite 3.8.8 made multiple values not subject to the SQLITE_LIMIT_COMPOUND_SELECT (500). | ||||
* | Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create(). | sean_c_hsu | 2022-01-19 | 1 | -2/+21 |
| | | | | | Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews. | ||||
* | Refs #25287 -- Added support for multiplying and dividing DurationField by ↵ | Tobias Bengfort | 2021-04-20 | 1 | -1/+1 |
| | | | | scalar values on SQLite. | ||||
* | Fixed #32501 -- Added support for returning fields from INSERT statements on ↵ | girishsontakke | 2021-04-07 | 1 | -0/+19 |
| | | | | SQLite 3.35+. | ||||
* | Fixed #32483 -- Fixed QuerySet.values()/values_list() on JSONField key ↵ | Mariusz Felisiak | 2021-03-23 | 1 | -0/+3 |
| | | | | | | transforms with booleans on SQLite. Thanks Matthew Cornell for the report. | ||||
* | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | 2021-01-14 | 1 | -1/+1 |
| | |||||
* | Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a ↵ | David-Wobrock | 2020-10-14 | 1 | -5/+13 |
| | | | | specific timezone. | ||||
* | Fixed #28925 -- Fixed durations-only expressions crash on SQLite and MySQL. | Sergey Fedoseev | 2020-06-30 | 1 | -4/+0 |
| | | | | This removes also unused DatabaseOperations.date_interval_sql(). | ||||
* | Fixed #31479 -- Added support to reset sequences on SQLite. | Jon Dufresne | 2020-04-21 | 1 | -3/+23 |
| | |||||
* | Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵ | Jon Dufresne | 2020-04-17 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. | ||||
* | Fixed #31396 -- Added binary XOR operator to F expressions. | Hannes Ljungberg | 2020-03-25 | 1 | -0/+2 |
| | |||||
* | Fixed #31228 -- Reallowed aggregates to be used with multiple expressions ↵ | Taoup | 2020-02-18 | 1 | -1/+5 |
| | | | | | | | | and no DISTINCT on SQLite. Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111. Thanks Andy Terra for the report. | ||||
* | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | 2020-02-04 | 1 | -8/+7 |
| | |||||
* | Fixed #31133 -- Fixed crash when subtracting against a subquery annotation. | Simon Charette | 2020-01-03 | 1 | -2/+3 |
| | | | | | | | | | The subtract_temporals() database operation was not handling expressions returning SQL params in mixed database types. Regression in 35431298226165986ad07e91f9d3aca721ff38ec. Thanks Reupen Shah for the report. | ||||
* | Fixed #30859 -- Fixed DatabaseFeatures.supports_aggregate_filter_clause on ↵ | Mariusz Felisiak | 2019-10-15 | 1 | -1/+1 |
| | | | | SQLite 3.30.1+. | ||||
* | Removed unnecessary assignments in various code. | Jon Dufresne | 2019-04-24 | 1 | -4/+3 |
| | |||||
* | Fixed #28373 -- Used connection timezone instead of UTC when making dates ↵ | can | 2019-04-08 | 1 | -10/+12 |
| | | | | | | | | timezone-aware on MySQL, SQLite, and Oracle. Thanks vtalpaert for the initial patch. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #28658 -- Added DISTINCT handling to the Aggregate class. | Simon Charette | 2019-01-09 | 1 | -0/+5 |
| | |||||
* | Refs #30054, #20483 -- Cached SQLite references graph retrieval on sql_flush(). | Simon Charette | 2018-12-26 | 1 | -18/+29 |
| | |||||
* | Fixed #30054 -- Implemented cascaded flush on SQLite. | Simon Charette | 2018-12-22 | 1 | -6/+21 |
| | | | | | | This is required to maintain foreign key integrity when using TransactionTestCase.available_apps. Refs #30033, #14204, #20483. | ||||
* | Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts. | Tom | 2018-08-03 | 1 | -0/+3 |
| | |||||
* | Refs #28643 -- Added math database functions. | Junyi Jiao | 2018-07-05 | 1 | -3/+3 |
| | | | Thanks Nick Pope for much review. | ||||
* | Fixed #28574 -- Added QuerySet.explain(). | Tom | 2018-04-19 | 1 | -0/+1 |
| | |||||
* | Refs #28459 -- Improved performance of duration expressions on SQLite. | Sergey Fedoseev | 2018-01-04 | 1 | -2/+2 |
| | |||||
* | Refs #28459 -- Improved performance of loading DecimalField on SQLite. | Sergey Fedoseev | 2017-12-26 | 1 | -10/+16 |
| | |||||
* | Refs #23941 -- Prevented incorrect rounding of DecimalField annotations on ↵ | Sergey Fedoseev | 2017-12-21 | 1 | -2/+7 |
| | | | | SQLite. | ||||
* | Fixed #28727 -- Fixed Cast crash on SQLite when casting a Python ↵ | Mariusz Felisiak | 2017-12-19 | 1 | -0/+4 |
| | | | | date/datetime to Date/DateTimeField. | ||||
* | Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the ↵ | Sergey Fedoseev | 2017-12-12 | 1 | -6/+3 |
| | | | | | | | fractional part of DecimalField. This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds a test for the regression. | ||||
* | Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵ | Simon Charette | 2017-10-06 | 1 | -1/+1 |
| | | | | PEP 249. | ||||
* | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | 2017-09-07 | 1 | -4/+6 |
| | | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | ||||
* | Refs #28459 -- Improved performance of loading DecimalField on SQLite. | Sergey Fedoseev | 2017-08-10 | 1 | -3/+6 |
| | |||||
* | Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't ↵ | Mariusz Felisiak | 2017-07-27 | 1 | -0/+2 |
| | | | | | provided. Thanks Tim Graham for the review. | ||||
* | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | 2017-07-20 | 1 | -6/+6 |
| | | | | | | Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | ||||
* | Fixed #14204 -- Enforced SQLite foreign key constraints. | Claude Paroz | 2017-07-11 | 1 | -3/+6 |
| | | | | | Thanks Tim Graham for contributing to the patch and Simon Charette for advice and review. | ||||
* | Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value ↵ | Mariusz Felisiak | 2017-07-06 | 1 | -1/+1 |
| | | | | with similar methods. | ||||
* | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | 2017-06-28 | 1 | -5/+4 |
| | |||||
* | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | 2017-05-27 | 1 | -2/+1 |
| | | | iter(dict) is equivalent to iter(dict.keys()). | ||||
* | Refs #21160 -- Replaced DatabaseFeatures.supports_1000_query_parameters by a ↵ | Mariusz Felisiak | 2017-03-24 | 1 | -2/+6 |
| | | | | DatabaseFeatures.max_query_params. | ||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -19/+6 |
| | |||||
* | Fixed #27802 -- Unified return value of db backend datetime SQL methods. | Mariusz Felisiak | 2017-02-06 | 1 | -6/+15 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -3/+3 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash on SQLite. | Andrew Nester | 2016-11-29 | 1 | -1/+1 |
| | |||||
* | Fixed grammar in sqlite's DatabaseOperations.bulk_batch_size()'s docstring. | Daniel Hahler | 2016-11-25 | 1 | -2/+2 |
| |