summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
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.
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki
2019-01-12Used None as the empty value for condition in Index's SQL construction.Paveł Tyślacki
2019-01-11Refs #29738 -- Allowed registering serializers with MigrationWriter.can
2019-01-11Moved django.db.migrations.writer.SettingsReference to django.conf.Tim Graham
Reduces the possibility of circular imports.
2019-01-10Renamed variables after generalization of constraints.Paveł Tyślacki
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.
2019-01-10Refs #28643 -- Added NullIf database function.Mads Jensen
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-09Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette
2019-01-09Fixed #30071 -- Fixed error message when a 'default' database isn't provided.Benjy Weinberger
2019-01-09Refs #23748 -- Added AutoField introspection for SQLite.Nick Pope
2019-01-09Renamed import in MySQL introspection backend for consistency.Nick Pope
2019-01-08Simplified some imports for database functions.Nick Pope
Used more specific modules to reduce the risk of circular imports.