summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2018-04-19Ref #23919 -- Replaced some os.path usage with pathlib.Path.Tom
2018-04-19Fixed #28600 -- Added prefetch_related() support to RawQuerySet.Adnan Umer
2018-04-19Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet.Adnan Umer
2018-04-19Fixed #29339 -- Added result caching to RawQuerySet.Adnan Umer
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-04-17Simplified Oracle's DatabaseOperations.cache_key_culling_sql() with ↵Mariusz Felisiak
LIMIT/OFFSET.
2018-04-16Fixed #29330 -- Fixed crash when pickling BaseExpression.Daniel Miller
Regression in cfff2af02be40106d4759cc6f8bfa476ce82421c.
2018-04-13Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or ↵Mariusz Felisiak
values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection(). Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf. Thanks Tim Graham and Carlton Gibson for reviews.
2018-04-12Fixed #29320 -- Added an exception when an annotation alias matches a ↵Flávio Juvenal
ForeignKey attname.
2018-04-11Fixed #29193 -- Prevented unnecessary foreign key drops when altering a ↵Jeremy Bowman
unique field. Stopped dropping and recreating foreign key constraints on other fields in the same table as the one which is actually being altered in an AlterField operation. Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.
2018-04-04Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo
null value.
2018-04-03Refs #24791 -- Made PostgreSQL's nodb connection use first PostgresSQL db ↵Mariusz Felisiak
when 'postgres' db isn't available. Thanks Tim Graham and Claude Paroz for reviews.
2018-04-03Refs #28643 -- Added Repeat database function.Mariusz Felisiak
Thanks Tim Graham and Nick Pope for reviews.
2018-04-03Fixed #29251 -- Added bytes to str conversion in LPad/RPad database ↵Mariusz Felisiak
functions on MySQL. Thanks Tim Graham for the review.
2018-03-28Fixed #29245 -- Made autodetector treat field renames + db_column addition ↵Simon Charette
as RenameField.
2018-03-23Fixed #23406 -- Allowed migrations to be loaded from .pyc files.Dan Watson
2018-03-20Used datetime.timezone.utc instead of pytz.utc for better performance.Sergey Fedoseev
2018-03-20Refs #29227 -- Simplified NullBooleanField by making it subclass BooleanField.Nick Pope
2018-03-20Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than ↵Tim Graham
NullBooleanField.
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-19Fixed #29229 -- Fixed column mismatch crash when combining two annotated ↵Astral
values_list() querysets with union(), difference(), or intersection(). Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e.
2018-03-19Refs #28643 -- Added LPad and RPad database functions.Mariusz Felisiak
Thanks Tim Graham for the review.
2018-03-17Fixed #29103 -- Removed bad 'b'-prefix added by MySQL's ↵Claude Paroz
SchemaEditor.quote_value().
2018-03-17Removed unused args in Index.clone().Mads Jensen
2018-03-16Removed DatabaseFeatures.can_introspect_null.Tim Graham
The only known usage is in the unmaintained django-pymssql project.
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-03-15Refs #28643 -- Added LTrim, RTrim, and Trim database functions.Mariusz Felisiak
Thanks Tim Graham and Mads Jensen for reviews.
2018-03-14Fixed #29155 -- Fixed crash when database functions are used with pattern ↵Mariusz Felisiak
lookups. Thanks Tim Graham and Sergey Fedoseev for reviews.
2018-03-13Fixed #29199 -- Fixed crash when database user password contains @ sign on ↵Mariusz Felisiak
Oracle. Thanks Shane Allgeier for the report and Tim Graham for the review.
2018-03-12Fixed #28988 -- Fixed queries when a GenericRelation is used with ↵robwa
multi-table inheritance.
2018-03-12Fixed #29209 -- Fixed Cast() with TextField on MySQL and Oracle.Sergey Fedoseev
2018-03-12Fixed typo in django/db/backends/base/schema.py.Tomer Chachamu
2018-03-12Added PatternLookup.prepare_rhs to simplify subclasses.Simon Charette
2018-03-12Removed unused variable in BaseDatabaseSchemaEditor.effective_default().Дилян Палаузов
2018-03-09Fixed #29180 -- Fixed a regression where migrations already in the plan were ↵Carlton Gibson
readded. Regression in a38ae914d89809aed6d79337b74a8b31b6d3849a.
2018-03-09Refs #29180 -- Added MigrationGraph._generate_plan() for testing.Carlton Gibson
2018-03-08Fixed #29195 -- Fixed Exists.output_field resolution on single-valued queries.Simon Charette
The Subquery class which Exists inherits from defaulted to using single-valued querie's field if no output_field was explicitly specified on initialization which was bypassing the Exists.output_field defined at the class level. Moving Subquery's dynamic output_field resolution to _resolve_output_field should make sure the fallback logic is only performed if required. Regression in 08654a99bbdd09049d682ae57cc94241534b29f0. Thanks Oli Warner for the detailed report.
2018-03-08Fixed #29178 -- Allowed Index.fields to accept a tuple.Fabrizio Ettore Messina
2018-03-07Simplified Contains, StartsWith, and EndsWith lookups.Mariusz Felisiak
2018-03-03Added model name to AutoField error message.Almad
2018-03-01Fixed #29172 -- Fixed crash with Window expression in a subquery.Tomáš Ehrlich
2018-03-01Refs #28459 -- Improved performance of time difference expressions on MySQL.Sergey Fedoseev
2018-02-28Fixed #29166 -- Fixed crash in When() expression with a list argument.Mariusz Felisiak
Thanks Matthew Pava for the report and Tim Graham and Carlton Gibson for reviews. Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f.
2018-02-26Refs #28909 -- Simplifed code using unpacking generalizations.Mariusz Felisiak
2018-02-23Refs #28643 -- Added Ord, Chr, Left, and Right database functions.bobort
2018-02-23Fixed #29142 -- Fixed crash when OuterRef is used with an operator.Matthew Schinckel
2018-02-20Fixed #28442 -- Fixed crash with nested OuterRefs that reference AutoField.Oliver Sauder
2018-02-12Refs #29125 -- Made Q.deconstruct() omit 'query_utils' in the path and ↵Tim Graham
_connector='AND' since it's a default value.
2018-02-12Fixed #29125 -- Made Q.deconstruct() deterministic with multiple keyword ↵Tim Graham
arguments.