| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-08-20 | Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin ↵ | Nick Pope | |
| and refactored AutoFields. This reduces duplication by allowing AutoField, BigAutoField and SmallAutoField to inherit from IntegerField, BigIntegerField and SmallIntegerField respectively. Doing so also allows for enabling the max_length warning check and minimum/maximum value validation for auto fields, as well as providing a mixin that can be used for other possible future auto field types such as a theoretical UUIDAutoField. | |||
| 2019-08-16 | Fixed #27676 -- Allowed BLOB/TEXT defaults on MariaDB 10.2.1+. | Adam Johnson | |
| 2019-08-13 | Refs #25367 -- Moved Oracle Exists() handling to contextual methods. | Simon Charette | |
| Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in the following cases. 1. When part of a SELECT clause. 2. When part of a ORDER BY clause. 3. When compared against another expression in the WHERE clause. This commit moves the systematic CASE WHEN wrapping of Exists.as_oracle to contextual .select_format, Lookup.as_oracle, and OrderBy.as_oracle methods in order to avoid unnecessary wrapping. | |||
| 2019-08-12 | Refs #23879 -- Made introspection respect required_db_features. | Simon Charette | |
| 2019-08-02 | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | |
| 2019-08-02 | Removed obsolete mentions of a check constraint in ↵ | Mariusz Felisiak | |
| BaseDatabaseSchemaEditor.add_constraint()/remove_constraint() docstrings. | |||
| 2019-08-01 | Refs #30664 -- Fixed migrations crash when altering AutoField/BigAutoField ↵ | Mariusz Felisiak | |
| with quoted db_column on PostgreSQL. | |||
| 2019-08-01 | Fixed #30664 -- Fixed migrations crash when altering table on SQLite or ↵ | Ngalim Siregar | |
| altering AutoField/BigAutoField on PostgreSQL for models with quoted db_table. | |||
| 2019-07-30 | Refs #30593 -- Fixed introspection of check constraints columns on MariaDB. | Hasan Ramezani | |
| 2019-07-30 | Refs #30593 -- Added _parse_constraint_columns() hook to introspection on ↵ | Hasan Ramezani | |
| MariaDB. | |||
| 2019-07-23 | Refs #29548 -- Fixed DatabaseWrapper.display_name on MariaDB. | Mariusz Felisiak | |
| 2019-07-22 | Fixed #30644 -- Made introspection use pg_table_is_visible() instead of ↵ | Georgi Yanchev | |
| filtering by public schema on PostgreSQL. | |||
| 2019-07-20 | Simplified get_key_columns()/get_relations() introspection methods for ↵ | Mariusz Felisiak | |
| PostgreSQL. | |||
| 2019-07-19 | Fixed #30593 -- Added support for check constraints on MariaDB 10.2+. | Hasan Ramezani | |
| 2019-07-16 | Fixed #30636 -- Fixed options ordering when cloning test database on MySQL. | Yann Sionneau | |
| --defaults-file must be given before other options. | |||
| 2019-07-08 | Refs #29444 -- Added support for fetching a returned non-integer insert ↵ | Johannes Hoppe | |
| values on Oracle. This is currently not actively used, since the ORM will ask the SQL compiler to only return auto fields. | |||
| 2019-07-02 | Fixed typos in comments and docs. | Min ho Kim | |
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| 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. | |||
| 2019-06-13 | Fixed #30128 -- Fixed handling timedelta timezone in database functions. | can | |
| 2019-05-27 | Refs #29548 -- Updated docs for MariaDB support. | Mariusz Felisiak | |
| 2019-05-21 | Fixed #28816 -- Prevented silencing data loss when decreasing ↵ | Hasan Ramezani | |
| CharField.max_length on PostgreSQL. | |||
| 2019-05-08 | Used time.monotonic() instead of time.time() where applicable. | Przemysław Suliga | |
| time.monotonic() available from Python 3.3: - Nicely communicates a narrow intent of "get a local system monotonic clock time" instead of possible "get a not necessarily accurate Unix time stamp because it needs to be communicated to outside of this process/machine" when time.time() is used. - Its result isn't affected by the system clock updates. There are two classes of time.time() uses changed to time.monotonic() by this change: - measuring time taken to run some code. - setting and checking a "close_at" threshold for for persistent db connections (django/db/backends/base/base.py). | |||
| 2019-05-07 | Fixed #30444 -- Moved SQL generation for tables to ↵ | Rob Golding-Day | |
| BaseDatabaseSchemaEditor.table_sql(). | |||
| 2019-05-07 | Readded comment about the default params of cursor.execute(). | Daniel Hahler | |
| It was removed in in 728548e483a5a3486939b0c8e62520296587482e. | |||
| 2019-04-30 | Fixed #30408 -- Fixed crash when adding check constraints with LIKE operator ↵ | Simon Charette | |
| on Oracle and PostgreSQL. The LIKE operator wildcard generated for contains, startswith, endswith and their case-insensitive variant lookups was conflicting with parameter interpolation on CREATE constraint statement execution. Ideally we'd delegate parameters interpolation in DDL statements on backends that support it but that would require backward incompatible changes to the Index and Constraint SQL generating methods. Thanks David Sanders for the report. | |||
| 2019-04-29 | Fixed #30148 -- Logged COPY ... TO statements in connection.queries on ↵ | kingbuzzman | |
| PostgreSQL. | |||
| 2019-04-29 | Refs #30148 -- Moved logging queries in CursorDebugWrapper to debug_sql() ↵ | kingbuzzman | |
| contextmanager. | |||
| 2019-04-24 | Removed unnecessary assignments in various code. | Jon Dufresne | |
| 2019-04-21 | Refs #30380 -- Used cursor._executed in ↵ | Mariusz Felisiak | |
| DatabaseOperations.last_executed_query() on MySQL. Regression in a41b09266dcdd01036d59d76fe926fe0386aaade. Thanks Tobias Krönke for the report. | |||
| 2019-04-19 | Fixed #30380 -- Handled bytes in MySQL backend for PyMySQL support. | Mariusz Felisiak | |
| This commit partly reverts efd8a82e268a82b3ad0be77bd5b4548c30bcb4d7. | |||
| 2019-04-18 | Fixed typos in docs, comments, and exception messages. | Ville Skyttä | |
| 2019-04-18 | Fixed #30370 -- Added dbshell support for client TLS certificates on PostgreSQL. | Oleh Mykytiuk | |
| 2019-04-08 | Fixed #30266 -- Kept a sequence owner when altering an ↵ | Dolan Antenucci | |
| AutoField/BigAutoField on PostgreSQL. | |||
| 2019-04-08 | Fixed #28373 -- Used connection timezone instead of UTC when making dates ↵ | can | |
| timezone-aware on MySQL, SQLite, and Oracle. Thanks vtalpaert for the initial patch. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 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-04-05 | Fixed #30331 -- Added support for psycopg2 2.8. | Mariusz Felisiak | |
| 2019-04-04 | Fixed #30307 -- Fixed incorrect quoting of database user password when using ↵ | msg | |
| dbshell on Oracle. Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709. | |||
| 2019-03-29 | Removed unnecessary /static from links to PostgreSQL docs. | Nick Pope | |
| 2019-03-28 | Fixed "byte string" typo in various docs and comments. | Mariusz Felisiak | |
| 2019-03-22 | Fixed #30271 -- Added the Sign database function. | Nick Pope | |
| 2019-03-20 | Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database ↵ | Nick Pope | |
| functions. Thanks Mariusz Felisiak and Tim Graham for reviews. | |||
| 2019-03-18 | Fixed #30258 -- Adjusted postgres schema value quoting of ranges. | Simon Charette | |
| Thanks Tilman Koschnick for the report and patch. | |||
| 2019-03-17 | Refs #30172 -- Prevented removing a model Meta's index/unique_together from ↵ | Paveł Tyślacki | |
| removing Meta constraints/indexes. | |||
| 2019-03-17 | Refs #30172 -- Prevented removing a field's check or unique constraint from ↵ | Paveł Tyślacki | |
| removing Meta constraints. | |||
| 2019-03-13 | Fixed #30183 -- Added introspection of inline SQLite constraints. | Paveł Tyślacki | |
| 2019-03-09 | Fixed #30242 -- Removed extra space before LIMIT/OFFSET SQL. | Hang Park | |
| 2019-03-01 | Refs #30183 -- Moved SQLite table constraint parsing to a method. | Paveł Tyślacki | |
| 2019-03-01 | Unified nonexistent foreign key introspection value for SQLite. | Paveł Tyślacki | |
| 2019-02-21 | Refs #28643 -- Added MD5 database function. | Mariusz Felisiak | |
| Thanks Tim Graham, Nick Pope and Simon Charette for reviews. | |||
| 2019-02-20 | Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health checks on ↵ | Simon Charette | |
| initialization. This addressed a regression introduced by a96b9019320ed8236659ee520a7a017c1bafbc6f as identified by Ran Benita. | |||
