| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-08-15 | Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to ↵ | zeyneloz | |
| respect model's Meta.ordering. Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-08-14 | Optimized Field.deconstruct() by using elif. | Mads Jensen | |
| 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-13 | Refs #25367 -- Moved select_format hook to BaseExpression. | Simon Charette | |
| This will expose an intermediary hook for expressions that need special formatting when used in a SELECT clause. | |||
| 2019-08-12 | Refs #24793 -- Removed bogus connection argument from SQLCompiler.compile() ↵ | Simon Charette | |
| calls. The method doesn't expect a connection object to be passed as its second argument. | |||
| 2019-08-12 | Refs #11964 -- Made constraint support check respect required_db_features. | Simon Charette | |
| This will notably silence the warnings issued when running the test suite on MySQL. | |||
| 2019-08-12 | Refs #23879 -- Made introspection respect required_db_features. | Simon Charette | |
| 2019-08-05 | Fixed #28393 -- Added helpful error messages for invalid ↵ | Diederik van der Boor | |
| AutoField/FloatField/IntegerField values. Co-authored-by: Diederik van der Boor <vdboor@edoburu.nl> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | |||
| 2019-08-02 | Simplified AlterModelTable by making it subclass ModelOptionOperation. | Nick Pope | |
| 2019-08-02 | Fixed #30668 -- Made QuerySet.filter() raise NotSupportedError if any of ↵ | aaktsipetrov | |
| source expressions is not filterable. | |||
| 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-31 | Fixed #30665 -- Added support for distinct argument to Avg() and Sum(). | Étienne Beaulé | |
| 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-27 | Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when ↵ | Jon Dufresne | |
| using attnames. Regression in 519016e5f25d7c0a040015724f9920581551cab0. | |||
| 2019-07-25 | Added Query.is_sliced property. | Mariusz Felisiak | |
| Previously, we used Query.can_filter() mainly to check if a query is sliced what was confusing. | |||
| 2019-07-25 | Fixed #27995 -- Added error messages on unsupported operations following ↵ | Hasan Ramezani | |
| union(), intersection(), and difference(). | |||
| 2019-07-25 | Fixed #30657 -- Allowed customizing Field's descriptors with a ↵ | Jon Dufresne | |
| descriptor_class attribute. Allows model fields to override the descriptor class used on the model instance attribute. | |||
| 2019-07-25 | Refs #30657 -- Made DeferredAttribute.__init__() to take a field instance ↵ | Jon Dufresne | |
| instead of a field name. | |||
| 2019-07-23 | Improved error message when index in __getitem__() is invalid. | Jon Dufresne | |
| 2019-07-23 | Refs #29548 -- Fixed DatabaseWrapper.display_name on MariaDB. | Mariusz Felisiak | |
| 2019-07-23 | Removed unnecessary code in Model.__init__(). | Jon Dufresne | |
| As is_related_object is True, the val variable is unused for the remainder of the method. Unnecessary since 53da1e47942f22a56e761d786ba89d05ca55a224. | |||
| 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-12 | Fixed #30602 -- Made Extract raise ValueError when using unsupported lookups ↵ | Hasan Ramezani | |
| for DurationField. | |||
| 2019-07-11 | Refs #30557 -- Fixed crash of ordering by ptr fields when Meta.ordering ↵ | Mariusz Felisiak | |
| contains F() expressions. Thanks Can Sarıgöl for the report. Follow up to 8c5f9906c56ac72fc4f13218dd90bdf9bc8a248b. | |||
| 2019-07-11 | Fixed #30557 -- Fixed crash of ordering by ptr fields when Meta.ordering ↵ | Hasan Ramezani | |
| contains expressions. | |||
| 2019-07-11 | Fixed #28289 -- Fixed crash of RawSQL annotations on inherited model fields. | can | |
| 2019-07-10 | Fixed #30628 -- Adjusted expression identity to differentiate bound fields. | Simon Charette | |
| Expressions referring to different bound fields should not be considered equal. Thanks Julien Enselme for the detailed report. Regression in bc7e288ca9554ac1a0a19941302dea19df1acd21. | |||
| 2019-07-08 | Fixed #30397 -- Added app_label/class interpolation for names of indexes and ↵ | can | |
| constraints. | |||
| 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-05 | Fixed #30613 -- Moved index name validation to system checks. | can | |
| 2019-07-02 | Fixed typos in comments and docs. | Min ho Kim | |
| 2019-06-28 | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | |
| Thanks Claude Paroz for assistance with translations. | |||
| 2019-06-28 | Fixed #28408 -- Added error message when updating with annotated expressions ↵ | can | |
| on joined fields. Co-Authored-By: Simon Charette <charette.s@gmail.com> | |||
| 2019-06-25 | Fixed #30477 -- Made reverse lookup use Field.get_db_prep_value() from the ↵ | can | |
| target field. | |||
| 2019-06-21 | Fixed #30421 -- Allowed symmetrical intermediate table for self-referential ↵ | Nadège Michel | |
| ManyToManyField. | |||
| 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-19 | Fixed #29834 -- Fixed column mismatch crash with ↵ | can | |
| QuerySet.values()/values_list() and order_by() on combined querysets. | |||
| 2019-06-19 | Fixed #30572 -- Prevented values()/values_list() on combined queryset from ↵ | Mariusz Felisiak | |
| mutating the list of columns in querysets. | |||
| 2019-06-13 | Fixed #30128 -- Fixed handling timedelta timezone in database functions. | can | |
| 2019-06-10 | Fixed #30548 -- Improved exception when expression contains mixed types. | CruxBox | |
| 2019-06-05 | Fixed #30542 -- Fixed crash of numerical aggregations with filter. | Étienne Beaulé | |
| Filters in annotations crashed when used with numerical-type aggregations (i.e. Avg, StdDev, and Variance). This was caused as the source expressions no not necessarily have an output_field (such as the filter field), which lead to an AttributeError: 'WhereNode' object has no attribute output_field. Thanks to Chuan-Zheng Lee for the report. Regression in c690afb873cac8035a3cb3be7c597a5ff0e4b261 and two following commits. | |||
| 2019-05-31 | Fixed #26192 -- Fixed crash of ordering by constants on PostgreSQL. | Mariusz Felisiak | |
| Thanks Simon Charette for the review. | |||
| 2019-05-28 | Simplified Model.save() a bit. | 葛汉斌 | |
