summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2019-05-18[2.2.x] Fixed #30463 -- Fixed crash of deprecation message when ↵ruchit2801
Meta.ordering contains expressions. Regression in 1b1f64ee5a78cc217fead52cbae23114502cf564. Backport of 04042b2b440f0bf50eb908d52cfe76af430e1738 from master
2019-05-07[2.2.x] Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() ↵Tobias Kunze
accepts the field the relation points to. Backport of a44a21a22f20c1a710670676fcca798dd6bb5ac0 from master
2019-04-30[2.2.x] Fixed #30412 -- Fixed crash when adding check constraints with OR'ed ↵can
condition on Oracle and SQLite. Backport of 719b7466203181066d9537d2e3bec687dffc9f41 from master
2019-04-30[2.2.x] Fixed #30408 -- Fixed crash when adding check constraints with LIKE ↵Simon Charette
operator 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. Backport of a8b3f96f6acfa082f99166e0a1cfb4b0fbc0eace from master
2019-04-19[2.2.x] Fixed #30328 -- Fixed crash of IntegerField.validators when ↵Scott Fitsimones
limit_value in a custom validator is callable. Backport of a14c0fda15db7e0eb982ac7b68d47b45fc95b4cb from master
2019-04-18[2.2.x] Fixed #30335, #29139 -- Fixed crash when ordering or aggregating ↵can
over a nested JSONField key transform. Backport of d87bd29c4f8dfcdf3f4a4eb8340e6770a2416fe3 from master.
2019-04-15[2.2.x] Fixed #30325 -- Reverted "Fixed #29725 -- Removed unnecessary join ↵Mariusz Felisiak
in QuerySet.count() and exists() on a many-to-many relation." This reverts commit 1299421cadc4fcf63585f2f88337078e43e660e0 due to a regression with custom managers. Backport of 5f7991c42cff73b6278106d499d719b726f85ead from master
2019-04-14[2.2.x] Fixed #30350 -- Prevented recreation of migration for operations ↵Florian Apolloner
with a range object. Thanks to Mariusz Felisiak for helping with the patch. Backport of 2e38f2015aba224b68a91a3012b87223f3046bb6 from master.
2019-04-08[2.2.x] Fixed #30330 -- Fixed setting of primary key to None during fast-delete.Florian Apolloner
Regression in bc7dd8490b882b2cefdc7faf431dc64c532b79c9. Backport of afc708cf6d047b35db57bd7c55baeffef459d279 from master
2019-04-05[2.2.x] Fixed #30331 -- Added support for psycopg2 2.8.Mariusz Felisiak
Backport of 5efaf078f7609a8c95045bcfdab0ba256b5449bf from master
2019-04-04[2.2.x] Fixed #30307 -- Fixed incorrect quoting of database user password ↵msg
when using dbshell on Oracle. Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709. Backport of 755673e1bca7edb6bee7a958f40d9ae54d85d44c from master
2019-03-29[2.2.x] Removed unnecessary /static from links to PostgreSQL docs.Nick Pope
Backport of 198a2a9381a415f76c3170753270f5087ce4475a from master.
2019-03-28[2.2.x] Fixed "byte string" typo in various docs and comments.Mariusz Felisiak
Backport of 881362986a1ee8f650752de8471a895890b71f96 from master
2019-03-22[2.2.x] Fixed #30280 -- Restored Model.get_FIELD_display()'s coercion of ↵Matthias Kestenholz
lazy strings. Reverted cc79c7ee637e65c8da27e56d746c87903d5ec901. Backport of ea071870f943c23a8eaf36dfcdf382afd6478fd1 from master.
2019-03-18[2.2.x] Fixed #30258 -- Adjusted postgres schema value quoting of ranges.Simon Charette
Thanks Tilman Koschnick for the report and patch. Backport of 386d89ab55e620440d30590a8a104fe6d5eef830 from master
2019-03-17[2.2.x] Refs #30172 -- Prevented removing a model Meta's ↵Paveł Tyślacki
index/unique_together from removing Meta constraints/indexes. Backport of 5c17c273ae2d7274f1fa78218b3b74690efddb86 from master.
2019-03-17[2.2.x] Refs #30172 -- Prevented removing a field's check or unique ↵Paveł Tyślacki
constraint from removing Meta constraints. Backport of 4bb859e24694f6cb8974ed9d2225f18214338ea3 from master.
2019-03-15[2.2.x] Fixed #30183 -- Added introspection of inline SQLite constraints.Paveł Tyślacki
Backport of 782d85b6dfa191e67c0f1d572641d8236c79174c from master.
2019-03-15[2.2.x] Refs #30183 -- Moved SQLite table constraint parsing to a method.Paveł Tyślacki
Backport of 4492be348ad6fb24957068e63448142399629d18 from master.
2019-03-15[2.2.x] Unified nonexistent foreign key introspection value for SQLite.Paveł Tyślacki
Backport of b777c0675ef7aadc299844025cf1f9b53562524f from master.
2019-03-14[2.2.x] Fixed #30254 -- Allowed model metaclasses to access the attribute ↵Matt Westcott
dict in __init__(). Regression in a68ea231012434b522ce45c513d84add516afa60. Backport of 58ad030d05fa50cfed327368ab61defca3303e02 from master.
2019-02-27[2.2.x] Refs #30179 -- Moved topological sort functions to django.utils.Matthias Kestenholz
Backport of e04209e181c99ac16ca769d115ac640015a83757 from master.
2019-02-20[2.2.x] Removed an outdated comment on DefaultConnectionProxy.Ran Benita
Backport of 21ff23bfeb4014bceaa3df27677fb68409c0634d from master
2019-02-20[2.2.x] Fixed #30193, Refs #28478 -- Avoided PostgreSQL connection health ↵Simon Charette
checks on initialization. This addressed a regression introduced by a96b9019320ed8236659ee520a7a017c1bafbc6f as identified by Ran Benita. Backport of 7071f8f2729295b0da77b6c651966dc32c71f1ab from master
2019-02-14[2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests.Jon Dufresne
Made DatabaseWrapper thread sharing logic reentrant. Used a reference counting like scheme to allow nested uses. The error appeared after 8c775391b78b2a4a2b57c5e89ed4888f36aada4b. Backport of 76990cbbda5d93fda560c8a5ab019860f7efaab7 from master.
2019-02-13[2.2.x] Fixed #30184 -- Removed ellipsis characters from shell output strings.Dan Davis
Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters. Backport of 2bd8df243ac6fc35e58c9fe90b20c9e42519a5ac from master.
2019-02-07[2.2.x] Updated Oracle docs links to Oracle 18c.Mariusz Felisiak
Backport of 759a9b710c0e5a6009cfba406ff562919fa70ef0 from master
2019-01-30[2.2.x] Fixed E117 and F405 flake8 warnings.Mariusz Felisiak
Backport of 5a5c77d55dc85c7e6cf910243257e408887f412a from master
2019-01-28[2.2.x] Refs #30055 -- Added a helpful error when SQLite is too old.Tim Graham
Backport of 7444f3252757ed4384623e5afd7dcfeef3e0c74e from master.
2019-01-22[2.2.x] Fixed #30115 -- Fixed SQLite introspection crash with a varchar ↵Nick Pope
primary key. Removed obsolete max_length handling for CharField that caused the issue. Regression in a35d2a4510d5beec398b1007aaa26492d6aedf97. Backport of bff748df3e1e1c0077e02df2b77bda2b827ad129 from master.
2019-01-22[2.2.x] Fixed #30111 -- Fixed AppRegistryNotReady error with ↵Nasir Hussain
django.contrib.postgres in INSTALLED_APPS. Regression in e192223ed996ed30fe83787efdfa7f2be6b1a2ee. Backport of 2804b8d2153505ec49b191db2168302dfb92c3af from master.
2019-01-21[2.2.x] Fixed #30120 -- Fixed invalid SQL in distinct aggregate.Simon Charette
Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111 (refs #28658). Backport of 65858119d23e37872505a4476e7141c33981fb50 from master.
2019-01-16Fixed #30044 -- Raised a FieldError on inherited field update attempts.Simon Charette
2019-01-16Refs #9475 -- Simplified dictionary unpacking.Simon Charette
2019-01-15Refs #9475 -- Fixed typo, used unpacking generalization, and made ↵Nick Pope
through_defaults kwarg-only.
2019-01-15Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a ↵Collin Anderson
through model.
2019-01-15Fixed #30099 -- Fixed invalid SQL when filtering a Subquery by an aggregate.Nasir Hussain
2019-01-14Removed unnecessary string formatting of strings.Jon Dufresne
2019-01-14Refs #28478 -- Prevented timezone assignment for unusable PostgreSQL ↵Simon Charette
connections.
2019-01-14Refs #28643 -- Extracted DurationField logic for Avg() and Sum() into mixin.Nick Pope
Also addresses Sum() not handling the filter option correctly.
2019-01-14Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Moved db function mixins to a separate module.Nick Pope
2019-01-14Avoided calling as_oracle() for SQLite in Left database function.Nick Pope
2019-01-14Corrected comment in TruncTime database function.Nick Pope
2019-01-14Simplified overriding source expressions in some database functions.Nick Pope
2019-01-14Fixed #30093 -- Fixed ordering of combined queryset ordered by F expressions.Sergey Fedoseev
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
Removed support for pyinotify (refs #9722).
2019-01-12Refs #28643 -- Added Reverse database function.Nick Pope
Thanks Mariusz Felisiak for Oracle advice and review.