| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-09 | Fixed #28107 -- Added ↵ | Vojtech Bocek | |
| DatabaseFeatures.allows_group_by_selected_pks_on_model() to allow enabling optimization for unmanaged models. | |||
| 2019-09-09 | Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵ | Johannes Hoppe | |
| PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2019-09-09 | Refs #29444 -- Fixed DateField constructor in ↵ | Johannes Hoppe | |
| db.backends.oracle.utils.InsertVar. | |||
| 2019-09-06 | Fixed DatabaseFeatures.can_introspect_check_constraints on MariaDB < ↵ | Mariusz Felisiak | |
| 10.2.22, 10.3.0 - 10.3.9. Regression in e2c6a0858d7d9ad85eda353076a5b46608b704a9. | |||
| 2019-09-05 | Fixed #30750 -- Added support for check constraints on MySQL 8.0.16+. | Mariusz Felisiak | |
| 2019-09-03 | Refs #29444 -- Made db.backends.oracle.utils.InsertVar use str as default. | Johannes Hoppe | |
| 2019-08-29 | Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). | Matthew Schinckel | |
| This allows using expressions that have an output_field that is a BooleanField to be used directly in a queryset filters, or in the When() clauses of a Case() expression. Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and Adam Johnson for reviews. Co-Authored-By: NyanKiyoshi <hello@vanille.bid> | |||
| 2019-08-26 | Refs #30591 -- Fixed introspection of check and unique column constraints on ↵ | Mariusz Felisiak | |
| MariaDB. Unnamed unique and check columns constraints have the same name as a column. Ensure uniqueness by using custom names. Thanks Adnan Umer for the report. | |||
| 2019-08-23 | Replaced subprocess commands by run() wherever possible. | Claude Paroz | |
| 2019-08-22 | Fixed #30712 -- Allowed BLOB/TEXT defaults on MySQL 8.0.13+. | Nasir Hussain | |
| 2019-08-21 | Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently ↵ | Mads Jensen | |
| operations for PostgreSQL. Thanks to Simon Charettes for review. Co-Authored-By: Daniel Tao <daniel.tao@gmail.com> | |||
| 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 | |
