summaryrefslogtreecommitdiff
path: root/tests/prefetch_related
Commit message (Expand)AuthorAgeFilesLines
* Refs #29984 -- Made QuerySet.iterator() without chunk_size raise ValueError a...Mariusz Felisiak2023-01-171-19/+5
* Removed unnecessary commas in tests.Mariusz Felisiak2022-12-211-2/+2
* Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers."Mariusz Felisiak2022-09-301-8/+0
* Refs #26780 -- Made prefetch_related() don't use window expressions fo sliced...Mariusz Felisiak2022-09-061-2/+21
* Fixed #26780 -- Added prefetch_related() support for sliced queries.Simon Charette2022-08-151-0/+64
* Relaxed some query ordering assertions in various tests.Mariusz Felisiak2022-04-141-1/+1
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-221-31/+21
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-072-4/+8
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-074-649/+947
* Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak2022-02-031-10/+12
* Fixed #29984 -- Added QuerySet.iterator() support for prefetching related obj...Jacob Walls2022-01-251-1/+34
* Fixed #32511 -- Corrected handling prefetched nested reverse relationships.Jamie Matthews2022-01-051-0/+26
* Fixed #32980 -- Made models cache related managers.Keryn Knight2021-11-081-0/+8
* Fixed #33008 -- Fixed prefetch_related() for deleted GenericForeignKeys.Martin Svoboda2021-10-141-0/+18
* Fixed #32812 -- Restored immutability of named values from QuerySet.values_li...Takayuki Hirayama2021-06-041-0/+7
* Fixed #32089 -- Fixed prefetch_related_objects() when some objects are alread...Alexey Nigin2020-12-161-0/+26
* Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani2020-11-061-2/+2
* Refs #20577 -- Deferred filtering of prefetched related querysets by reverse ...Bob Renwick2020-10-061-9/+12
* Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette2020-05-151-86/+88
* Removed unused __str__() methods in tests models.Mariusz Felisiak2020-04-301-21/+0
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-042-4/+4
* Refs #31044 -- Fixed error message when using Prefetch with a values_list() q...Mariusz Felisiak2019-12-091-2/+4
* Fixed #31044 -- Errored nicely when using Prefetch with a raw() queryset.Hasan Ramezani2019-12-091-1/+7
* Fixed #20577 -- Deferred filtering of prefetched related querysets.Alex Aktsipetrov2019-10-211-0/+31
* Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU2019-10-011-0/+3
* Refs #30651 -- Added tests for Prefetch.__eq__().Mariusz Felisiak2019-10-011-0/+6
* Fixed typo in tests/prefetch_related/tests.py comment.Tim Gates2019-08-261-1/+1
* Fixed typos in test names and a comment.Min ho Kim2019-08-231-1/+1
* Fixed #30482 -- Prevented unnecessary evaluation of lookup.queryset in prefet...Iain Watts2019-05-161-5/+10
* Fixed #30368 -- Fixed prefetch_related() for GenericForeignKey when PK is als...Vinny Do2019-04-161-0/+7
* Fixed #30343 -- Fixed prefetch_related() for GenericForeignKey when PK of rel...Mariusz Felisiak2019-04-142-5/+19
* Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette2019-01-101-1/+1
* Followed style guide for model attribute ordering.Matt Wiens2018-12-271-21/+21
* Fixed #29230 -- Fixed nested prefetches that clash with descriptors.Paulo2018-05-271-0/+13
* Fixed #28600 -- Added prefetch_related() support to RawQuerySet.Adnan Umer2018-04-191-1/+35
* Refs #28723 -- Fixed stale prefetch_related cache after add/remove.Jon Dufresne2018-02-052-1/+17
* Made prefetch_related tests use assertCountEqual() for unordered sequences.Jon Dufresne2018-02-051-5/+5
* Fixed #28723 -- Fixed RelatedManager's prefetch_related() cache name.Mike Hansen2017-11-021-1/+11
* Fixed #28375 -- Fixed KeyError crash on reverse prefetch of a model with OneT...Paulo2017-08-212-1/+23
* Used assertRaisesMessage() to test Django's error messages.Mads Jensen2017-07-291-4/+20
* Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne2017-06-011-1/+1
* Sorted imports per isort 4.2.9.Tim Graham2017-06-011-2/+0
* Refs #25546 -- Added detailed comments for prefetch_related test.François Freitag2017-05-041-7/+17
* Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nes...François Freitag2017-05-041-0/+34
* Fixed #28096 -- Allowed prefetch calls with ModelIterable subclassesClaude Paroz2017-04-192-2/+17
* Replaced type-specific assertions with assertEqual().Tim Graham2017-03-171-10/+10
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
* Removed unneeded force_text calls in the test suiteClaude Paroz2017-01-241-2/+1
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-20/+19
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-11/+0