Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25550 -- Deprecated direct assignment to the ↵ | Tim Graham | 2015-10-27 | 1 | -7/+7 |
| | | | | reverse side of a related set. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -9/+47 |
| | |||||
* | Fixed #25382 -- Removed obsolete references to DateQuerySet. | Renato Oliveira | 2015-09-11 | 1 | -3/+3 |
| | |||||
* | Fixed #24525 -- Fixed AssertionError in some complex ↵ | Tim Graham | 2015-09-05 | 2 | -3/+15 |
| | | | | | | queries. Thanks Anssi Kääriäinen for providing the solution. | ||||
* | Fixed #19263 -- Fixed crash when filtering using __in ↵ | Tim Graham | 2015-09-04 | 1 | -0/+9 |
| | | | | | | and an empty QuerySet. Thanks Marcin Biernat for the initial patch and tests. | ||||
* | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | 2015-08-31 | 1 | -6/+0 |
| | |||||
* | Refs #23266 -- Fixed ticket number reference in a ↵ | Tim Graham | 2015-08-17 | 1 | -1/+2 |
| | | | | queries test. | ||||
* | Used skipUnlessDBFeature where appropriate. | Simon Charette | 2015-08-08 | 1 | -2/+1 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -64/+68 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Refs #23622 -- Added tests to ensure ordering is ↵ | Anssi Kääriäinen | 2015-07-20 | 1 | -0/+68 |
| | | | | | | | | | retained for distinct on fields subqueries. The ticket was already fixed by b68212f539f206679580afbfd008e7d329c9cd31. Thanks to Beauhurst for commissioning the work on this ticket. | ||||
* | Fixed test with incorrect assumption about pk values. | Anssi Kääriäinen | 2015-07-20 | 1 | -1/+8 |
| | | | | | The test results were dependent on the order in which the tests were run. | ||||
* | Refs #24090 -- Added a test for multi-table inheritance ↵ | Anssi Kääriäinen | 2015-07-13 | 2 | -1/+6 |
| | | | | | | | | | | + subqueries. Ticket #24090 was already fixed by b68212f539f206679580afbfd008e7d329c9cd31, this commit adds tests to verify this is indeed the case. Thanks to Beauhurst for commissioning the work on this ticket. | ||||
* | Fixed a CaptureQueriesContext usage in queries tests. | Simon Charette | 2015-07-09 | 1 | -1/+1 |
| | |||||
* | Added a regression test for get() ordering clearing. | Simon Charette | 2015-07-09 | 1 | -0/+8 |
| | |||||
* | Fixed flake8 warnings on Python 3. | Tim Graham | 2015-06-15 | 1 | -4/+5 |
| | |||||
* | Fixed #24719 -- Restored the ability to use interators ↵ | Aric Coady | 2015-04-28 | 1 | -0/+1 |
| | | | | as queryset related object filters. | ||||
* | Fixed #24605 -- Fixed incorrect reference to alias in ↵ | Anssi Kääriäinen | 2015-04-16 | 2 | -6/+45 |
| | | | | | | | subquery. Thanks to charettes and priidukull for investigating the issue, and to kurevin for the report. | ||||
* | Fixed #24277 -- Added exception when dict used in ↵ | Alex Wilson | 2015-04-14 | 1 | -0/+4 |
| | | | | QuerySet filtering | ||||
* | Refs #24267 -- Implemented lookups for related fields | Anssi Kääriäinen | 2015-03-25 | 1 | -0/+8 |
| | | | | | | | | | | Previously related fields didn't implement get_lookup, instead related fields were treated specially. This commit removed some of the special handling. In particular, related fields return Lookup instances now, too. Other notable changes in this commit is removal of support for annotations in names_to_path(). | ||||
* | Fixed #23697 -- Improved ↵ | Michael Blatherwick | 2015-03-23 | 1 | -0/+9 |
| | | | | ForeignObject.get_lookup_constraint() error message. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -17/+19 |
| | |||||
* | Added a test for refs #24279 | Anssi Kääriäinen | 2015-02-06 | 1 | -0/+7 |
| | | | | This issue was fixed in afe0bb7b13bb8dc4370f32225238012c873b0ee3. | ||||
* | Removed EverythingNode | Anssi Kääriäinen | 2015-02-04 | 1 | -28/+11 |
| | | | | | At the same time, made sure that empty nodes in where clause match everything. | ||||
* | Fixed #24211 -- Removed ValuesQuerySet() and ↵ | Loic Bistuer | 2015-01-30 | 1 | -7/+6 |
| | | | | | | ValuesListQuerySet(). Thanks Anssi Kääriäinen, Marc Tamlyn, and Tim Graham for the reviews. | ||||
* | Fixed typos in code comments. | Adam Taylor | 2015-01-20 | 1 | -1/+1 |
| | |||||
* | Removed support for callable QuerySet arguments per ↵ | Tim Graham | 2015-01-18 | 1 | -13/+0 |
| | | | | deprecation timeline; refs #11629. | ||||
* | Fixed #24020 -- Refactored SQL compiler to use expressions | Anssi Kääriäinen | 2015-01-08 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Fixed #12663 -- Formalized the Model._meta API for ↵ | Daniel Pyrathon | 2015-01-07 | 1 | -1/+1 |
| | | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | ||||
* | Fixed a queries test on Python 2 broken after importing ↵ | Tim Graham | 2014-12-31 | 1 | -1/+1 |
| | | | | six.moves.range(). | ||||
* | Fixed test from refs #23758. | Tim Graham | 2014-12-31 | 1 | -1/+2 |
| | |||||
* | Fixed #23758 -- Allowed more than 5 levels of subqueries | Piotr Pawlaczek | 2014-12-31 | 1 | -0/+19 |
| | | | | | Refactored bump_prefix() to avoid infinite loop and allow more than than 5 subquires by extending the alphabet to use multi-letters. | ||||
* | Refs #23947 -- Fixed queries test execution order ↵ | Diego Guimarães | 2014-12-15 | 1 | -1/+1 |
| | | | | | | dependency. Specify an id to avoid conflict with objects created in setUpTestData. | ||||
* | Refactored some tests to take advantage of refs #20392. | Thomas Chaumeny | 2014-12-03 | 1 | -83/+99 |
| | |||||
* | Fixed #23853 -- Added Join class to replace JoinInfo | Anssi Kääriäinen | 2014-11-28 | 1 | -4/+5 |
| | | | | | | | | Also removed Query.join_map. This structure was used to speed up join reuse calculation. Initial benchmarking shows that this isn't actually needed. If there are use cases where the removal has real-world performance implications, it should be relatively straightforward to reintroduce it as map {alias: [Join-like objects]}. | ||||
* | Fixed #23605 -- Fixed nested subquery regression | Anssi Kääriäinen | 2014-11-20 | 2 | -1/+53 |
| | | | | | | | | Added relabeled_clone() method to sql.Query to fix the problem. It manifested itself in rare cases where at least double nested subquery's filter condition might target non-existing alias. Thanks to Trac alias ris for reporting the problem. | ||||
* | Renamed qn to compiler | Josh Smeaton | 2014-11-16 | 1 | -32/+32 |
| | |||||
* | Fixed #23620 -- Used more specific assertions in the ↵ | Berker Peksag | 2014-11-03 | 1 | -69/+70 |
| | | | | Django test suite. | ||||
* | Fixed #23721 -- check_related_objects without calling ↵ | Collin Anderson | 2014-10-28 | 1 | -0/+4 |
| | | | | | | __iter__ Refs #14334 | ||||
* | Fixed #23396 -- Ensured ValueQuerySets are not checked ↵ | Gabe Jackson | 2014-10-21 | 1 | -0/+8 |
| | | | | by check_related_objects. | ||||
* | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵ | Thomas Chaumeny | 2014-09-28 | 1 | -17/+17 |
| | | | | | | 3282. Thanks Collin Anderson for the review. | ||||
* | Fixed #23460 -- Added literal `%s` support to extra() ↵ | Matt Robenolt | 2014-09-26 | 1 | -0/+15 |
| | | | | QuerySets. | ||||
* | Fixed #23443 -- Corrected erroneous FieldError message. | Thomas Chaumeny | 2014-09-18 | 1 | -0/+7 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #23313 -- Corrected repr(RawQuery) with dict ↵ | Andrew Torpedov | 2014-08-29 | 1 | -3/+3 |
| | | | | parameters. | ||||
* | Fixed #23266 -- Prevented queries caused by type ↵ | Anubhav Joshi | 2014-08-11 | 1 | -0/+4 |
| | | | | | | checking lookup values Small modifications done by committer. | ||||
* | Fixed #23259 -- Corrected insertion order of extra() ↵ | Rajiv Makhijani | 2014-08-11 | 1 | -0/+20 |
| | | | | | | | | | select_params A regression caused queries to produce incorrect results for cases where extra(select) is excluded by values() but included by extra(order_by) The regression was caused by 2f35c6f10fcbae541691207fb0c0560a13b754fc. | ||||
* | Fixed #19671 -- Added warnings that null and validators ↵ | Anubhav Joshi | 2014-07-09 | 1 | -1/+1 |
| | | | | | | are ignored for ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review. | ||||
* | Fixed #14334 -- Query relation lookups now check object ↵ | Anubhav Joshi | 2014-07-01 | 2 | -19/+99 |
| | | | | | | | types. Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao for reviews. | ||||
* | Split tests.basic.ModelTests in several tests; refs #18586. | zsoldosp | 2014-06-25 | 2 | -0/+127 |
| | |||||
* | Fixed several typos in Django | Alex Gaynor | 2014-05-29 | 1 | -1/+1 |
| | |||||
* | Fixed #22466 -- ordering by reverse foreign key | Anssi Kääriäinen | 2014-05-05 | 1 | -0/+12 |
| | | | | | | | | Ordering by reverse foreign key was broken by custom lookups patch (commit 20bab2cf9d02a5c6477d8aac066a635986e0d3f3). Thanks to everybody who helped solving this issue. Special thanks to Trac alias takis for reporting this. |