summaryrefslogtreecommitdiff
path: root/tests/prefetch_related
AgeCommit message (Expand)Author
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-05-27Fixed #29230 -- Fixed nested prefetches that clash with descriptors.Paulo
2018-04-19Fixed #28600 -- Added prefetch_related() support to RawQuerySet.Adnan Umer
2018-02-05Refs #28723 -- Fixed stale prefetch_related cache after add/remove.Jon Dufresne
2018-02-05Made prefetch_related tests use assertCountEqual() for unordered sequences.Jon Dufresne
2017-11-02Fixed #28723 -- Fixed RelatedManager's prefetch_related() cache name.Mike Hansen
2017-08-21Fixed #28375 -- Fixed KeyError crash on reverse prefetch of a model with OneT...Paulo
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-06-01Sorted imports per isort 4.2.9.Tim Graham
2017-05-04Refs #25546 -- Added detailed comments for prefetch_related test.François Freitag
2017-05-04Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nes...François Freitag
2017-04-19Fixed #28096 -- Allowed prefetch calls with ModelIterable subclassesClaude Paroz
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26226 -- Removed support for related manager classes without a _apply_r...Tim Graham
2017-01-09Made prefetch_related SQL inspection tests less brittle.François Freitag
2016-11-14Fixed #27463 -- Fixed E741 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-07-19Fixed #26916 -- Fixed prefetch_related when using a cached_property as to_attr.Simon Charette
2016-05-31Fixed #26676 -- Prevented prefetching to_attr from caching its result in thro...Simon Charette
2016-05-03Refs #26565 -- Errored nicely when using Prefetch with a values() queryset.Simon Charette
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-02Fixed #26226 -- Made related managers honor the queryset used for prefetching...Simon Charette
2016-03-02Refs #17001 -- Added a test for custom prefetch related queryset on generic r...Simon Charette
2016-02-26Fixed #26264 -- Fixed prefetch_related() crashes with values_list(flat=True)Attila Tovt
2016-02-26Fixed #25279 -- Made prefetch_related_objects() public.Adam Chainz
2016-02-23Used setupTestData in prefetch_related tests.Simon Charette
2016-01-26Fixed #25546 -- Prevented duplicate queries with nested prefetch_related().François Freitag
2015-12-17Fixed #25544 -- Removed duplicate ids in prefetch_related() queries.Ian Foote
2015-11-11Refs #25693 -- Added a regression test for `to_attr` validation on forward m2m.Simon Charette
2015-11-10Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.Ian Foote
2015-09-21Renamed descriptor classes for related objects.Aymeric Augustin
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella
2015-06-18Fixed #24873 -- Prevented nested Prefetch objects from being overwritten.Gagaro
2015-06-15Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary keysBrian King
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict comprehe...Jon Dufresne
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-09-29Fixed flake8 warnings.Tim Graham
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
2014-09-09Avoid the word "stupid".Aymeric Augustin
2014-06-05Reordered setUp code in prefetch_related tests.Aymeric Augustin