Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol. | Mariusz Felisiak | 2023-04-06 | 1 | -4/+1 |
| | | | | | | Thanks Patryk Zawadzki for the report. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | ||||
* | Updated translations from Transifex. | Mariusz Felisiak | 2023-04-03 | 44 | -225/+340 |
| | | | | Forwardport of fa687719321329f4e5017b7fc1b8cadae3c63c32 from stable/4.2.x. | ||||
* | Fixed #34338 -- Allowed customizing code of ValidationError in ↵ | Xavier Fernandez | 2023-02-23 | 1 | -4/+19 |
| | | | | BaseConstraint and subclasses. | ||||
* | Refs #33829 -- Added violation_error_message to constraints' __repr__(). | Xavier Fernandez | 2023-02-23 | 1 | -1/+7 |
| | |||||
* | Fixed #34285 -- Fixed index/slice lookups on filtered aggregates with ↵ | Nils VAN ZUIJLEN | 2023-02-07 | 1 | -2/+6 |
| | | | | | | ArrayField. Thanks Simon Charette for the review. | ||||
* | Refs #34233 -- Used types.NoneType. | Nick Pope | 2023-01-18 | 1 | -3/+5 |
| | | | Available since Python 3.10 where it was reintroduced. | ||||
* | Refs #33342 -- Removed ExclusionConstraint.opclasses per deprecation timeline. | Mariusz Felisiak | 2023-01-17 | 1 | -30/+1 |
| | |||||
* | Refs #10929 -- Stopped forcing empty result value by PostgreSQL aggregates. | Mariusz Felisiak | 2023-01-17 | 1 | -62/+5 |
| | | | | Per deprecation timeline. | ||||
* | Updated source translation catalogs. | Mariusz Felisiak | 2023-01-17 | 1 | -21/+20 |
| | | | | Forward port of 6fef789e456204752ec6b77b41740d67553fdd6f from stable/4.2.x. | ||||
* | Updated translations from Transifex. | Mariusz Felisiak | 2022-12-20 | 4 | -6/+18 |
| | | | | | | | Updated Bulgarian, Esperanto, Hungarian, Japanese, Macedonian, Persian, Portuguese (Brazil), Russian, Spanish, and Turkmen translations. Forwardport of 46b28bbe151282e9198b719d00f84b48c92606ba from stable/4.1.x. | ||||
* | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | 2022-12-15 | 5 | -32/+75 |
| | | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #33308 -- Added DatabaseOperations.compose_sql() on PostgreSQL. | Florian Apolloner | 2022-12-12 | 1 | -8/+1 |
| | |||||
* | Refs #33308 -- Moved psycopg2 imports to the psycopg_any module. | Florian Apolloner | 2022-12-12 | 3 | -8/+12 |
| | |||||
* | Fixed #34205 -- Fixed Meta.constraints validation crash with ArrayField and ↵ | James Gillard | 2022-12-10 | 1 | -1/+1 |
| | | | | | | | __len lookup. Regression in 88fc9e2826044110b7b22577a227f122fe9c1fb5 that began manifesting in Django 4.1. | ||||
* | Refs #33308 -- Deprecated support for passing encoded JSON string literals ↵ | Simon Charette | 2022-12-01 | 1 | -6/+46 |
| | | | | | | | to JSONField & co. JSON should be provided as literal Python objects an not in their encoded string literal forms. | ||||
* | Refs #33308 -- Added get_type_oids() hook and simplified registering type ↵ | Daniele Varrazzo | 2022-12-01 | 1 | -32/+25 |
| | | | | handlers on PostgreSQL. | ||||
* | Fixed #26056 -- Added QuerySet.values()/values_list() support for ↵ | Ben Cail | 2022-11-18 | 1 | -0/+8 |
| | | | | | | ArrayField's __overlap lookup. Thanks Mads Jensen and kosz85 and the initial patch. | ||||
* | Fixed #34149 -- Allowed adding deferrable conditional exclusion constraints ↵ | Márton Salomváry | 2022-11-10 | 1 | -2/+0 |
| | | | | on PostgreSQL. | ||||
* | Fixed #34080 -- Fixed __exact lookup when nested arrays contain only NULL ↵ | Ion Alberdi | 2022-11-03 | 1 | -1/+10 |
| | | | | | | values. Thanks jerch and David Sanders for reviews. | ||||
* | Fixed #34071 -- Improved error message for Range(Min/Max)ValueValidator. | Jack Linke | 2022-10-05 | 1 | -2/+2 |
| | |||||
* | Fixed #34016 -- Fixed QuerySet.values()/values_list() crash on ArrayAgg() ↵ | Alexander Kerkum | 2022-09-17 | 1 | -2/+5 |
| | | | | | | and JSONBAgg(). Regression in e06dc4571ea9fd5723c8029959b95808be9f8812. | ||||
* | Replaced Expression.replace_references() with .replace_expressions(). | Simon Charette | 2022-08-11 | 1 | -1/+2 |
| | | | | | | | The latter allows for more generic use cases beyond the currently limited ones constraints validation has. Refs #28333, #30581. | ||||
* | Optimized ExclusionConstraint.validate() a bit. | Mariusz Felisiak | 2022-08-11 | 1 | -8/+7 |
| | | | | | References to excluded fields are omitted in the replacement_map, so there is no need to replace references before checking for exclusions. | ||||
* | Used F.replace_references(). | Mariusz Felisiak | 2022-08-11 | 1 | -1/+1 |
| | | | | Follow up to 63884829acd207404f2a5c3cc1d6b4cd0a822b70. | ||||
* | Fixed #33905 -- Fixed CheckConstraint() validation on range fields. | David Sanders | 2022-08-09 | 1 | -0/+3 |
| | | | | Bug in 667105877e6723c6985399803a364848891513cc. | ||||
* | Fixed #33872 -- Deprecated ↵ | Mariusz Felisiak | 2022-08-03 | 2 | -12/+84 |
| | | | | django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. | ||||
* | Updated translations from Transifex. | Mariusz Felisiak | 2022-08-03 | 2 | -3/+4 |
| | | | | | | | | This also fixes related i18n tests. Forwardport of a3bab9332416f655c6ae0fa306c94f7f52e7398d from stable/4.1.x. Co-authored-by: Claude Paroz <claude@2xlibre.net> | ||||
* | Fixed #33881 -- Added support for database collations to ↵ | Mariusz Felisiak | 2022-08-02 | 1 | -0/+6 |
| | | | | ArrayField(Char/TextFields). | ||||
* | Fixed #33829 -- Made BaseConstraint.deconstruct() and equality handle ↵ | Stéphane "Twidi" Angel | 2022-07-08 | 1 | -0/+1 |
| | | | | | | violation_error_message. Regression in 667105877e6723c6985399803a364848891513cc. | ||||
* | Fixed #33788 -- Added TrigramStrictWordSimilarity() and ↵ | Matt Brewer | 2022-06-17 | 3 | -1/+25 |
| | | | | TrigramStrictWordDistance() on PostgreSQL. | ||||
* | Fixed #33717 -- Dropped support for PostgreSQL 11. | Mariusz Felisiak | 2022-05-19 | 3 | -22/+0 |
| | |||||
* | Fixed #30581 -- Added support for Meta.constraints validation. | Gagaro | 2022-05-10 | 1 | -3/+47 |
| | | | | Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. | ||||
* | Fixed #33607 -- Made PostgresIndex.create_sql() respect the "using" argument. | Alexandru Mărășteanu | 2022-04-15 | 1 | -1/+1 |
| | |||||
* | Fixed #33397 -- Corrected resolving output_field for ↵ | Luke Plant | 2022-03-31 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | DateField/DateTimeField/TimeField/DurationFields. This includes refactoring of CombinedExpression._resolve_output_field() so it no longer uses the behavior inherited from Expression of guessing same output type if argument types match, and instead we explicitly define the output type of all supported operations. This also makes nonsensical operations involving dates (e.g. date + date) raise a FieldError, and adds support for automatically inferring output_field for cases such as: * date - date * date + duration * date - duration * time + duration * time - time | ||||
* | Prevented initialization of unused database connections. | Florian Apolloner | 2022-03-17 | 1 | -1/+1 |
| | |||||
* | Made BaseConstraint importable from django.db.models. | Gagaro | 2022-03-16 | 1 | -2/+1 |
| | |||||
* | Fixed #33539 -- Fixed spaces in WITH SQL for indexes on PostgreSQL. | Anders Kaseorg | 2022-02-24 | 1 | -1/+1 |
| | |||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 4 | -9/+16 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 23 | -604/+757 |
| | |||||
* | Updated translations from Transifex. | Claude Paroz | 2022-01-29 | 2 | -11/+12 |
| | | | | | | Updated Bulgarian, Czech, German, Uzbek, and Vietnamese translations. Forwardport of 7a1c6533eb72c3e6faa308796ba7f8d7d447d3b9 from stable/4.0.x. | ||||
* | Refs #20349 -- Avoided loading testing libraries when not needed. | Collin Anderson | 2022-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #33342 -- Deprecated ExclusionConstraint.opclasses. | Hannes Ljungberg | 2021-12-27 | 1 | -0/+11 |
| | |||||
* | Fixed #33342 -- Added support for using OpClass() in exclusion constraints. | Hannes Ljungberg | 2021-12-24 | 1 | -22/+26 |
| | |||||
* | Updated translations from Transifex. | Mariusz Felisiak | 2021-12-06 | 8 | -3/+319 |
| | | | | | | | | This also fixes related i18n tests. Forwardport of 4c5215ab036aa8fda9cd0148fd034f4d8f7d69d1 from stable/4.0.x Co-authored-by: Claude Paroz <claude@2xlibre.net> | ||||
* | Refs #33304 -- Enclosed aggregate ordering logic in an expression. | Simon Charette | 2021-11-23 | 1 | -35/+14 |
| | | | | | This greatly simplifies the implementation of contrib.postgres' OrderableAggMixin and allows for reuse in Window expressions. | ||||
* | Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete ↵ | Guilherme Martins Crocetti | 2021-11-04 | 2 | -3/+41 |
| | | | | range fields. | ||||
* | Fixed #33262 -- Fixed crash of conditional aggregation on Exists(). | Hannes Ljungberg | 2021-11-04 | 1 | -1/+1 |
| | |||||
* | Refs #32943 -- Added support for covering exclusion constraints using ↵ | Nick Pope | 2021-10-01 | 1 | -6/+16 |
| | | | | SP-GiST indexes on PostgreSQL 14+. | ||||
* | Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+. | Nick Pope | 2021-10-01 | 1 | -0/+7 |
| | |||||
* | Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres. | Nick Pope | 2021-10-01 | 1 | -1/+6 |
| |