summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2018-09-26[2.1.x] Fixed #29630 -- Fixed crash of sliced queries with multiple columns ↵Mariusz Felisiak
with the same name on Oracle 12.1. Regression in 0899d583bdb140910698d00d17f5f1abc8774b07. Thanks Tim Graham for the review and Jani Tiainen for help. Backport of 024abe5b82d95ee60cb18a77ebf841ad715467fa from master
2018-09-26[2.1.x] Made DatabaseWrapper.oracle_version() return a full version tuple.Mariusz Felisiak
Backport of 90d93a1b425c0e6e3d88afa9fff78790300e1e38 from master
2018-09-25[2.1.x] Fixed #29778 -- Fixed quoting of unique index names.Oleg
Regression in 3b429c96736b8328c40e5d77282b0d30de563c3c. Backport of d1d5c97bc2821bf8c0f4b2d9c7ab16200845b494 from master.
2018-09-16[2.1.x] Fixed #29759 -- Fixed crash on Oracle when fetching a returned ↵Mariusz Felisiak
insert id with cx_Oracle 7. Backport of da92ec79621fc0bba671d8afa52b7f6884962fe5 from master
2018-09-14[2.1.x] Fixed #29755 -- Made migrations detect changes to ↵Simon Charette
Meta.default_related_name. Backport of a4495f4b989dc919d80fcf9f38e31e247faa94fb from master
2018-09-11[2.1.x] Fixed #29749 -- Made the migrations loader ignore files starting ↵Tim Graham
with a tilde or underscore. Regression in 29150d5da880ac1db15e47052330790cf1b802d2. Backport of 32fbccab406b680bc0a0a8d39a9b95c3a08bbc5a from master
2018-09-08[2.1.x] Fixed #29727 -- Made nonexistent joins in F() raise FieldError.Alexander Holmbäck
Regression in 2162f0983de0dfe2178531638ce7ea56f54dd4e7. Backport of f315d0423a09dfe20dd4d4f6a0eb11fc8e45a665 from master
2018-08-29[2.1.x] Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() ↵Mariusz Felisiak
or values_list() after combining querysets with extra() with union(), difference(), or intersection(). Regression in 0b66c3b442875627fa6daef4ac1e90900d74290b. Backport of 39461a83c33f0cfe719d3b139413d1f5d1e75d5e from master
2018-08-17[2.1.x] Refs #29015 -- Added database name to PostgreSQL database name too ↵Jon Dufresne
long exception. Backport of bf17f5e88466e3f571065345f5b2fea0d8af89fe from master
2018-08-10[2.1.x] Fixed #29653 -- Fixed missing related_query_name reverse accessor if ↵Ramiro Morales
GenericRelation is declared on an abstract base model. Regression in 4ab027b94409e6415b774797bf9d3593da9d9ea8. Thanks Lauri Kainulainen for the report. Backport of b5c7cb4d3306a7b4e8f87bcf365ff30ae53018ed from master
2018-08-03[2.1.x] Fixed #29613 -- Fixed --keepdb on PostgreSQL if the database exists ↵Mariusz Felisiak
and the user can't create databases. Regression in e776dd2db677d58dcb50aea20d3bb191537df25b. Thanks Tim Graham for the review. Backport of 1a9cbf41a130def83a7e384955544d08be0fc148 from master
2018-08-02[2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().Michael Sanders
A race condition happened when the object didn't already exist and another process/thread created the object before update_or_create() did and then attempted to update the object, also before update_or_create() saved the object. The update by the other process/thread could be lost. Backport of 271542dad1686c438f658aa6220982495db09797 from master
2018-08-01[2.1.x] Fixed typos in comments and docs.luz.paz
Backport of 97e637a87fb45c4de970cca6cb783d93473c9d15 from master
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.