summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2019-02-06Fixed #30157 -- Dropped support for Oracle 12.1.Mariusz Felisiak
Thanks Tim Graham for the review.
2019-02-04Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.Tim Graham
2019-02-04Fixed #30156 -- Dropped support for SpatiaLite 4.1 and 4.2.Tim Graham
2019-02-04Refs #28859 -- Simplified fetch_returned_insert_id() by using int data type ↵Mariusz Felisiak
for binding variable on Oracle.
2019-01-31Fixed #30147 -- Simplified directory creation with os.makedirs(..., ↵Jon Dufresne
exist_ok=True).
2019-01-30Refs #29444 -- Renamed DatabaseFeatures.can_return_id* to be generic for ↵Johannes Hoppe
other columns.
2019-01-30Fixed #30076 -- Added Model.get_FOO_display() even if field's choices are empty.Joshua Cannon
2019-01-30Fixed #30116 -- Dropped support for Python 3.5.Tim Graham
2019-01-30Fixed E117 and F405 flake8 warnings.Mariusz Felisiak
2019-01-29Fixed #30108 -- Allowed adding foreign key constraints in the same statement ↵Dan Tao
that adds a field.
2019-01-28Refs #30055 -- Added a helpful error when SQLite is too old.Tim Graham
2019-01-27Removed default mode='r' argument from calls to open().Jon Dufresne
2019-01-22Fixed #30115 -- Fixed SQLite introspection crash with a varchar primary key.Nick Pope
Removed obsolete max_length handling for CharField that caused the issue. Regression in a35d2a4510d5beec398b1007aaa26492d6aedf97.
2019-01-22Inlined DatabaseIntrospection._table_info() for SQLite.Nick Pope
2019-01-22Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres ↵Nasir Hussain
in INSTALLED_APPS. Regression in e192223ed996ed30fe83787efdfa7f2be6b1a2ee.
2019-01-21Fixed #30106 -- Made order_with_respect_to updates use QuerySet.bulk_update().Simon Charette
2019-01-21Fixed #30120 -- Fixed invalid SQL in distinct aggregate.Simon Charette
Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111 (refs #28658).
2019-01-18Optimized Oracle PKs introspection by adding get_primary_key_column().Mariusz Felisiak
2019-01-17Refs #28750 -- Removed suppport for model Meta.manager_inheritance_from_future.Tim Graham
2019-01-17Refs #11557 -- Removed the field_name keyword argument to ↵Tim Graham
QuerySet.earliest() and latest(). Per deprecation timeline.
2019-01-17Refs #28370 -- Removed support for the context arg of Field.from_db_value() ↵Tim Graham
and Expression.convert_value(). Per deprecation timeline.
2019-01-17Refs #25175 -- Removed db.backends.postgresql_psycopg2 per deprecation timeline.Tim Graham
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