summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2018-07-16Fixed #28917 -- Prevented Paginator's unordered warning on EmptyQuerySet.Josh Schneier
Thanks carltongibson for the idea and weijunji for the initial patch.
2018-07-14Fixed #29542 -- Fixed invalid SQL if a Subquery from the HAVING clause is ↵Mariusz Felisiak
used in the GROUP BY clause. Thanks Tim Graham for the review.
2018-07-11Fixed #29559 -- Fixed TransactionTestCase.reset_sequences for auto-created ↵Oliver Sauder
m2m through models.
2018-07-11Removed in_between from Operation.reduce()'s signature.Simon Charette
It isn't used since FieldOperation.references_model() takes into account models referenced by the field it's operating on.
2018-07-11Fixed #27845 -- Allowed both right and left optimizations of operations.Simon Charette
Thanks Raphael Gaschignard for the suggestion.
2018-07-11Allowed RemoveField operations to be optimized through.Simon Charette
2018-07-11Relaxed FieldOperation.references_field remote field checking.Simon Charette
2018-07-11Introduced ModelTuple to remove migrations boilerplate.Simon Charette
2018-07-11Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields.Simon Charette
2018-07-11Fixed #27768 -- Allowed migration optimization of CreateModel order.Simon Charette
Thanks Ed Morley from Mozilla for the tests.
2018-07-11Refs #27768 -- Reversed order of optimized and in-between operations.Simon Charette
Operations can only be optimized through if they don't reference any of the state the operation they are compared against defines or alters, so it's safe to reverse the order.
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-07-10Removed Oracle's fetchmany() and fetchall() wrappers.Sergey Fedoseev
Follow up to e06cab260049bb58eafdc4f60ac50a5f3759c38c.
2018-07-10Deleted unused variable in SQLCompiler.get_related_selections().Mads Jensen
Unused since 01d440fa1e6b5c62acfa8b3fde43dfa1505f93c6.
2018-07-09Refs #29548 -- Fixed non-GIS test failures on MariaDB.Tom Forbes
2018-07-05Fixed #29544 -- Fixed regex lookup on MariaDB.Michal Čihař
Regression in 42490768441701bc02255b22df8e6894cbe487c7.
2018-07-05Refs #26608 -- Removed unneeded name attribute in window functions.Mads Jensen
2018-07-05Refs #28643 -- Added math database functions.Junyi Jiao
Thanks Nick Pope for much review.
2018-07-04Fixed #29541 -- Fixed Cursor.execute() crash when setinputsizes() is called ↵Mariusz Felisiak
without arguments wit cx_Oracle 6.4.
2018-07-02Removed unused code in django.db.backends.utils.format_number().Tim Graham
2018-07-02Fixed #29530 -- Fixed aliases ordering when chaining annotate() and filter().Mariusz Felisiak
2018-07-02Simplified SQLite's Decimal adapter.Sergey Fedoseev
2018-06-29Fixed #28077 -- Added support for PostgreSQL opclasses in Index.Ian Foote
Thanks Vinay Karanam for the initial patch.
2018-06-29Fixed #29480 -- Made MySQL backend retrieve constraint columns in their ↵Thomas Grainger
defined order.
2018-06-28Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for ↵Tim Graham
better performance." This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a regression.
2018-06-25Fixed #29517 -- Added support for SQLite column check constraints on ↵Tim Graham
positive integer fields.
2018-06-25Fixed #29447 -- Made RelatedManager.set() pass bulk argument to clear().Alexandr Tatarinov
2018-06-25Refs #29516 -- Reverted inadvertent change in Model.__init__().Tim Graham
2018-06-25Fixed #29517 -- Rephrased error message when passing incorrect kwarg to ↵Federico Bond
model constructor
2018-06-20Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.Tom
2018-06-20Fixed #29503 -- Made __in lookup keep order of values in query.Nick Pope
Regression in 86eccdc8b67728d84440a46e5bf62c78f2eddf6d.
2018-06-17Fixed #29496 -- Fixed crash on Oracle when converting a non-unique field to ↵Mariusz Felisiak
primary key. Thanks Tim Graham for the review.
2018-06-15Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after ↵Jeff
RenameField. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.
2018-05-29Refs #28748 -- Reallowed lazy model field choices.Tim Graham
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986.
2018-05-27Fixed #29230 -- Fixed nested prefetches that clash with descriptors.Paulo
2018-05-27Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on MySQL ↵Mariusz Felisiak
when using a RawSQL annotation. Regression in 1d070d027c218285b66c0bde8079034b33a87f11.
2018-05-26Refs #27098 -- Removed unused introspection queries.Markus Holtermann
Unused since 578711c31052625cc87319cf1c46662c14d75ce9. Thanks Ian Foote for finding this.
2018-05-18Fixed #29380 -- Added support for QuerySet.select_for_update()'s nowait and ↵bakabiko
skip_locked options on MySQL 8+.
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.