- 12 Eyl, 2015 1 kayıt (commit)
-
-
Dražen Odobašić yazdı
-
- 11 Eyl, 2015 1 kayıt (commit)
-
-
Renato Oliveira yazdı
-
- 06 Agu, 2015 1 kayıt (commit)
-
-
Tim Graham yazdı
Fixed in f59fd15c
-
- 27 Tem, 2015 1 kayıt (commit)
-
-
Flavio Curella yazdı
-
- 30 Haz, 2015 1 kayıt (commit)
-
-
Michael Tänzer yazdı
On sqlite the SUM() of a decimal column doesn't have a NUMERIC type so when comparing it to a string literal (which a Decimal gets converted to in Django) it is not compared as expected.
-
- 11 May, 2015 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
When the query's model had a self-referential foreign key, the compiler.get_group_by() code incorrectly used the self-referential foreign key's column (for example parent_id) as GROUP BY clause when it should have used the model's primary key column (id).
-
- 30 Mar, 2015 1 kayıt (commit)
-
-
Simon Charette yazdı
-
- 09 Mar, 2015 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
The query used a construct of qs.annotate().values().aggregate() where the first annotate used an F-object reference and the values() and aggregate() calls referenced that F-object. Also made sure the inner query's select clause is as simple as possible, and made sure .values().distinct().aggreate() works correctly.
-
- 04 Mar, 2015 1 kayıt (commit)
-
-
Josh Smeaton yazdı
-
- 06 Şub, 2015 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 30 Ock, 2015 1 kayıt (commit)
-
-
Loic Bistuer yazdı
Thanks Anssi Kääriäinen, Marc Tamlyn, and Tim Graham for the reviews.
-
- 08 Ock, 2015 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument.
-
- 27 Kas, 2014 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
Aggregation over subquery produced syntactically incorrect queries in some cases as Django didn't ensure that source expressions of the aggregation were present in the subquery.
-
- 03 Kas, 2014 1 kayıt (commit)
-
-
Berker Peksag yazdı
-
- 16 Eki, 2014 1 kayıt (commit)
-
-
Claude Paroz yazdı
Thanks Loic Bistuer and Simon Charette for the review.
-
- 03 Eyl, 2014 1 kayıt (commit)
-
-
Marc Tamlyn yazdı
Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews.
-
- 15 May, 2014 1 kayıt (commit)
-
-
Claude Paroz yazdı
-
- 03 Mar, 2014 1 kayıt (commit)
-
-
Rodolfo Carvalho yazdı
Thanks Piotr Kasprzyk for help with the patch.
-
- 26 Ock, 2014 1 kayıt (commit)
-
-
Simon Charette yazdı
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
-
- 03 Kas, 2013 3 kayıt (commit)
-
-
Alex Gaynor yazdı
-
Jason Myers yazdı
Signed-off-by:
Jason Myers <jason@jasonamyers.com>
-
coagulant yazdı
-
- 02 Kas, 2013 1 kayıt (commit)
-
-
coagulant yazdı
-
- 27 Eki, 2013 1 kayıt (commit)
-
-
Alex Gaynor yazdı
-
- 26 Eki, 2013 1 kayıt (commit)
-
-
Alex Gaynor yazdı
-
- 21 Eki, 2013 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 18 Eki, 2013 1 kayıt (commit)
-
-
Alasdair Nicol yazdı
-
- 11 Eki, 2013 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 05 Eki, 2013 2 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
There were multiple cases where join promotion was a bit too aggressive. This resulted in using outer joins where not necessary. Refs #21150.
-
Anssi Kääriäinen yazdı
Added tests for a .annotate().select_related() join promotion failure. This happened to work on master but was currently untested.
-
- 25 Eyl, 2013 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
A .annotate().select_related() query resulted in misaligned rows vs columns for compiler.resolve_columns() method. Report & patch by Michael Manfre.
-
- 24 Eyl, 2013 1 kayıt (commit)
-
-
Michael Manfre yazdı
-
- 09 Eyl, 2013 1 kayıt (commit)
-
-
Kevin Christopher Henry yazdı
* override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion.
-
- 15 Agu, 2013 1 kayıt (commit)
-
-
Alasdair Nicol yazdı
Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch.
-
- 31 Tem, 2013 1 kayıt (commit)
-
-
Florian Hahn yazdı
-
- 29 Tem, 2013 1 kayıt (commit)
-
-
Claude Paroz yazdı
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
-
- 01 Tem, 2013 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
Refs #20680.
-
- 28 May, 2013 1 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
The cause was assuming that an unordered queryset returns the values always in the same order.
-
- 13 Mar, 2013 2 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
-
Anssi Kääriäinen yazdı
The sql/query.py add_q method did a lot of where/having tree hacking to get complex queries to work correctly. The logic was refactored so that it should be simpler to understand. The new logic should also produce leaner WHERE conditions. The changes cascade somewhat, as some other parts of Django (like add_filter() and WhereNode) expect boolean trees in certain format or they fail to work. So to fix the add_q() one must fix utils/tree.py, some things in add_filter(), WhereNode and so on. This commit also fixed add_filter to see negate clauses up the path. A query like .exclude(Q(reversefk__in=a_list)) didn't work similarly to .filter(~Q(reversefk__in=a_list)). The reason for this is that only the immediate parent negate clauses were seen by add_filter, and thus a tree like AND: (NOT AND: (AND: condition)) will not be handled correctly, as there is one intermediary AND node in the tree. The example tree is generated by .exclude(~Q(reversefk__in=a_list)). Still, aggregation lost connectors in OR cases, and F() objects and aggregates in same filter clause caused GROUP BY problems on some databases. Fixed #17600, fixed #13198, fixed #17025, fixed #17000, fixed #11293.
-