| Age | Commit message (Collapse) | Author |
|
This also replaces assertQuerysetEqual() to
assertSequenceEqual()/assertCountEqual() where appropriate.
Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
By making Query subclass BaseExpression in
35431298226165986ad07e91f9d3aca721ff38ec the former defined it's
identity based off _construct_args which is not appropriate.
|
|
|
|
|
|
Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1.
|
|
using Meta.constraints.
Detection of unique fields now takes into account non-partial unique
constraints.
|
|
|
|
|
|
Use pre-existing select fields (and thereby GROUP BY fields) from
subquery if they were specified, instead of always defaulting to pk.
Thanks Aur Saraf for the report and Simon Charette for guidance.
|
|
Made sql.Where resolve lhs of its child nodes. This is necessary to
allow filter lookups against nested subquery expressions to properly
resolve their OuterRefs to Cols.
Thanks Oskar Persson for the simplified test case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Regression in 86eccdc8b67728d84440a46e5bf62c78f2eddf6d.
|
|
null value.
|
|
Oracle.
Test introduced in feb683c4c2c5ecfb61e4cb490c3e357450c0c0e8 revealed
unexpected behavior on Oracle that allows concatenating NULL with string.
|
|
lookups.
Thanks Tim Graham and Sergey Fedoseev for reviews.
|
|
warnings.
https://bugs.python.org/issue25988
|
|
|
|
Regression in ec50937bcbe160e658ef881021402e156beb0eaf.
Thanks Simon Charette for review.
|
|
|
|
value to None.
Also fixed crash of .filter(field__transform=None).
|
|
|
|
|
|
primary key.
|
|
iter(dict) is equivalent to iter(dict.keys()).
|
|
more than 999 ids.
Thanks Andrei Picus and Anssi Kääriäinen for the initial patch
and Tim Graham for the review.
|
|
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
|
|
|
|
|
|
|
|
|
|
QuerySet filtering.
|
|
http://bugs.python.org/issue27364
|
|
assertSequenceEqual().
|
|
|
|
different databases.
|
|
|
|
|
|
|
|
|
|
|
|
related set.
|
|
|
|
iterator.
|