Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34201 -- Bumped minimum supported SQLite to 3.21.0. | Mariusz Felisiak | 2022-12-08 | 1 | -96/+46 |
| | |||||
* | Used super().execute/executemany() in SQLiteCursorWrapper. | Nick Pope | 2022-11-08 | 1 | -3/+3 |
| | |||||
* | Fixed #10070 -- Added support for pyformat style parameters on SQLite. | Ryan Cheley | 2022-11-08 | 1 | -8/+29 |
| | | | | Co-authored-by: Nick Pope <nick@nickpope.me.uk> | ||||
* | Removed obsolete references to pysqlite. | Nick Pope | 2022-11-04 | 1 | -2/+2 |
| | | | | Obsolete since 1b06d5e6f6be8e567ce78c892c485af039830d7d. | ||||
* | Fixed #33960 -- Fixed migrations crash on SQLite < 3.26. | Mariusz Felisiak | 2022-08-29 | 1 | -1/+1 |
| | | | | | Regression in 0b95a96ee10d3e12aef01d449467bcf4641286b4. Thanks Aristotelis Mikropoulos for the report. | ||||
* | Stopped using default adapters/converters on SQLite backend. | Mariusz Felisiak | 2022-07-21 | 1 | -1/+13 |
| | | | | Default adapters/converters were deprecated in Python 3.12, see https://github.com/python/cpython/issues/90016. | ||||
* | Fixed #33379 -- Added minimum database version checks. | Hasan Ramezani | 2022-02-18 | 1 | -12/+3 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -96/+128 |
| | |||||
* | Refs #33355 -- Moved SQLite functions to separate module. | Adam Johnson | 2021-12-23 | 1 | -289/+4 |
| | | | | Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | ||||
* | Refs #33355 -- Optimized LPad() database function on SQLite. | Adam Johnson | 2021-12-23 | 1 | -2/+3 |
| | | | | Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | ||||
* | Refs #33355 -- Optimized Trunc() on SQLite by using f-strings. | Adam Johnson | 2021-12-22 | 1 | -16/+16 |
| | | | | Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | ||||
* | Refs #33355 -- Fixed Trunc() with years < 1000 on SQLite. | Adam Johnson | 2021-12-13 | 1 | -13/+13 |
| | | | | | | Thanks to Nick Pope for spotting the bug in Code Review. Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | ||||
* | Fixed #31765 -- Enforced enhanced ALTER TABLE behavior for SQLite connections. | Adam Johnson | 2021-12-07 | 1 | -0/+3 |
| | |||||
* | Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | 2021-11-12 | 1 | -8/+5 |
| | | | | | | Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. | ||||
* | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | 2021-11-10 | 1 | -2/+2 |
| | | | Thanks Simon Charette for the report. | ||||
* | Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels. | Ade Lee | 2021-10-12 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | md5 is not an approved algorithm in FIPS mode, and trying to instantiate a hashlib.md5() will fail when the system is running in FIPS mode. md5 is allowed when in a non-security context. There is a plan to add a keyword parameter (usedforsecurity) to hashlib.md5() to annotate whether or not the instance is being used in a security context. In the case where it is not, the instantiation of md5 will be allowed. See https://bugs.python.org/issue9216 for more details. Some downstream python versions already support this parameter. To support these versions, a new encapsulation of md5() has been added. This encapsulation will pass through the usedforsecurity parameter in the case where the parameter is supported, and strip it if it is not. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #32365 -- Made zoneinfo the default timezone implementation. | Carlton Gibson | 2021-09-16 | 1 | -5/+5 |
| | | | | | Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews. | ||||
* | Refs #25287 -- Added support for multiplying and dividing DurationField by ↵ | Tobias Bengfort | 2021-04-20 | 1 | -1/+6 |
| | | | | scalar values on SQLite. | ||||
* | Refs #25287 -- Added _sqlite_prepare_dtdelta_param() hook. | Tobias Bengfort | 2021-04-20 | 1 | -9/+19 |
| | |||||
* | Fixed typo in django/db/backends/sqlite3/base.py comment. | Chris Jerdonek | 2021-02-23 | 1 | -1/+1 |
| | |||||
* | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | 2021-02-10 | 1 | -11/+5 |
| | |||||
* | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | 2021-01-14 | 1 | -1/+0 |
| | |||||
* | Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0. | Mariusz Felisiak | 2020-12-30 | 1 | -2/+4 |
| | |||||
* | Fixed #32158 -- Fixed loaddata crash on SQLite when table/column names are ↵ | Chinmoy Chakraborty | 2020-12-28 | 1 | -3/+8 |
| | | | | SQL keywords. | ||||
* | Fixed #32201 -- Removed obsolete isort:skip's. | Seamus Quinn | 2020-11-19 | 1 | -6/+6 |
| | | | Obsolete as of isort 5. | ||||
* | Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a ↵ | David-Wobrock | 2020-10-14 | 1 | -9/+13 |
| | | | | specific timezone. | ||||
* | Fixed #32060 -- Added Random database function. | Nick Pope | 2020-10-02 | 1 | -0/+4 |
| | |||||
* | Fixed #31836 -- Dropped support for JSONField __contains and __contained_by ↵ | Mariusz Felisiak | 2020-07-28 | 1 | -10/+0 |
| | | | | | | | | | | lookups on SQLite. The current implementation works only for basic examples without supporting nested structures and doesn't follow "the general principle that the contained object must match the containing object as to structure and data contents, possibly after discarding some non-matching array elements or object key/value pairs from the containing object". | ||||
* | Removed duplicated sqlite3 converter. | Sergey Fedoseev | 2020-07-03 | 1 | -1/+0 |
| | | | | Converters typenames are case-insensitive. See https://docs.python.org/3/library/sqlite3.html#sqlite3.register_converter. | ||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 1 | -0/+12 |
| | | | | | | | | | | | 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> | ||||
* | Fixed #31030 -- Registered SQLite functions as deterministic on Python 3.8+. | Sergey Fedoseev | 2020-04-06 | 1 | -43/+51 |
| | |||||
* | Fixed #31396 -- Added binary XOR operator to F expressions. | Hannes Ljungberg | 2020-03-25 | 1 | -0/+1 |
| | |||||
* | Fixed #31233 -- Closed database connections and cursors after use. | Jon Dufresne | 2020-02-06 | 1 | -2/+3 |
| | |||||
* | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | 2020-02-04 | 1 | -3/+3 |
| | |||||
* | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | 2019-11-19 | 1 | -0/+2 |
| | |||||
* | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | 2019-11-07 | 1 | -1/+3 |
| | |||||
* | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | 2019-10-29 | 1 | -1/+2 |
| | |||||
* | Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day ↵ | Anatol Ulrich | 2019-10-02 | 1 | -0/+2 |
| | | | | lookup. | ||||
* | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | 2019-08-02 | 1 | -0/+2 |
| | |||||
* | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | 2019-06-20 | 1 | -0/+3 |
| | | | | | This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | ||||
* | Fixed #30128 -- Fixed handling timedelta timezone in database functions. | can | 2019-06-13 | 1 | -0/+8 |
| | |||||
* | Fixed #28373 -- Used connection timezone instead of UTC when making dates ↵ | can | 2019-04-08 | 1 | -14/+16 |
| | | | | | | | | timezone-aware on MySQL, SQLite, and Oracle. Thanks vtalpaert for the initial patch. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #30271 -- Added the Sign database function. | Nick Pope | 2019-03-22 | 1 | -0/+1 |
| | |||||
* | Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database ↵ | Nick Pope | 2019-03-20 | 1 | -0/+5 |
| | | | | | functions. Thanks Mariusz Felisiak and Tim Graham for reviews. | ||||
* | Refs #28643 -- Added MD5 database function. | Mariusz Felisiak | 2019-02-21 | 1 | -0/+2 |
| | | | Thanks Tim Graham, Nick Pope and Simon Charette for reviews. | ||||
* | Refs #30055 -- Added a helpful error when SQLite is too old. | Tim Graham | 2019-01-28 | 1 | -0/+7 |
| | |||||
* | Refs #28643 -- Added Reverse database function. | Nick Pope | 2019-01-12 | 1 | -0/+1 |
| | | | | Thanks Mariusz Felisiak for Oracle advice and review. | ||||
* | Fixed #30056 -- Added SQLite support for StdDev and Variance functions. | Nick Pope | 2018-12-24 | 1 | -0/+13 |
| | |||||
* | Refs #29928 -- Added supports_pragma_foreign_key_check SQLite feature flag. | Simon Charette | 2018-12-22 | 1 | -1/+1 |
| | |||||
* | Renamed SQLite3 references to to SQLite. | Simon Charette | 2018-12-22 | 1 | -1/+1 |
| | | | | The version suffix isn't part of the product name. |