summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2018-07-23[2.1.x] Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of ↵Tim Graham
pytz.utc for better performance." This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a regression. Backport of 2ec151e35da93047acfeea1b79c27010f2cb8594 from master
2018-07-18[2.1.x] Removed duplicate words in various comments.Mariusz Felisiak
Backport of a73cf8110e6cccbf46bf77fd4ddce2df99df53ca from master
2018-07-05[2.1.x] Fixed #29544 -- Fixed regex lookup on MariaDB.Michal Čihař
Regression in 42490768441701bc02255b22df8e6894cbe487c7. Backport of 39e287d8bff50e9f91f3f4471088c1946aa6a76c from master
2018-06-20[2.1.x] Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.Tom
Backport of 42490768441701bc02255b22df8e6894cbe487c7 from master
2018-06-20[2.1.x] Fixed #29503 -- Made __in lookup keep order of values in query.Nick Pope
Regression in 86eccdc8b67728d84440a46e5bf62c78f2eddf6d. Backport of b0fbfae09334554124e1dccb7559d10f36e2f84c from master
2018-06-17[2.1.x] Fixed #29496 -- Fixed crash on Oracle when converting a non-unique ↵Mariusz Felisiak
field to primary key. Thanks Tim Graham for the review. Backport of 6dd4edb1b4f5441c5f543e29395039839c50d10b from master
2018-06-15[2.1.x] Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when ↵Jeff
run after RenameField. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. Backport of fcc4e251dbc917118f73d7187ee2f4cbf3883f36 from master
2018-05-29[2.1.x] Refs #28748 -- Reallowed lazy model field choices.Tim Graham
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986. Backport of c03e41712b2274f524d32bc2aef455ed82c9e3b4 from master
2018-05-27[2.1.x] Fixed #29230 -- Fixed nested prefetches that clash with descriptors.Paulo
Backport of 6104875a2cc797bbd1254aa61f22a9b03d652128 from master
2018-05-27[2.1.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on ↵Mariusz Felisiak
MySQL when using a RawSQL annotation. Regression in 1d070d027c218285b66c0bde8079034b33a87f11. Backport of 4ab1f559e8d1264bcb20bb497988973194f5d8f2 from master
2018-05-26[2.1.x] Refs #27098 -- Removed unused introspection queries.Markus Holtermann
Unused since 578711c31052625cc87319cf1c46662c14d75ce9. Thanks Ian Foote for finding this. Backport of e01fa015c0fca32bb740b575c8fbfd388d8f4957 from master
2018-05-18[2.1.x] Fixed #29380 -- Added support for QuerySet.select_for_update()'s ↵bakabiko
nowait and skip_locked options on MySQL 8+. Backport of a7bc1aea03508f544c9dfac0f34b01996653cef4 from master
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-14Refs #28834 -- Moved ancestor field cached value fallback to related fields ↵Paulo
descriptor.
2018-05-10Fixed #27629 -- Added router.allow_relation() calls for assignments between ↵Stefan R. Filipek
unsaved model instances.
2018-05-08Refs #29350 -- Fixed 'invalid escape sequence' warning in SQLite introspection.Tim Graham
2018-05-05Fixed #28913 -- Fixed error handling when MIGRATIONS_MODULES specifies a ↵Sanket Saurav
nonexistent top-level package.
2018-05-03Refs #29358 -- Corrected wording in primary key check message.Carlton Gibson
2018-05-03Fixed #29358 -- Added a system check to prohibit models with more than one ↵Hasan Ramezani
primary_key field.
2018-04-28Refs #28859 -- Fixed "no data found" exception handling with cx_Oracle 6.3+.Mariusz Felisiak
2018-04-28Fixed #29350 -- Fix get_primary_key_column() method in sqlite3 backendZackary Troop
Thanks Tim Graham and Mariusz Felisiak for the reviews.
2018-04-27Fixed #29015 -- Added an exception if the PostgreSQL database name is too long.priyanshsaxena
2018-04-27Fixed #29367 -- Fixed model state on objects with a primary key created with ↵Oscar Esgalha
QuerySet.bulk_create().
2018-04-20Fixed #29247 -- Allowed blank model field choice to be defined in nested ↵orlnub123
choices.
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.