| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-05-27 | [2.1.x] Fixed #29230 -- Fixed nested prefetches that clash with descriptors. | Paulo | |
| Backport of 6104875a2cc797bbd1254aa61f22a9b03d652128 from master | |||
| 2018-04-19 | Fixed #28600 -- Added prefetch_related() support to RawQuerySet. | Adnan Umer | |
| 2018-02-05 | Refs #28723 -- Fixed stale prefetch_related cache after add/remove. | Jon Dufresne | |
| Regression in 514b2c989a948e3c59bda0da0c9427acf643cf5b. | |||
| 2018-02-05 | Made prefetch_related tests use assertCountEqual() for unordered sequences. | Jon Dufresne | |
| 2017-11-02 | Fixed #28723 -- Fixed RelatedManager's prefetch_related() cache name. | Mike Hansen | |
| 2017-08-21 | Fixed #28375 -- Fixed KeyError crash on reverse prefetch of a model with ↵ | Paulo | |
| OneToOneField primary key to a non-pk field. | |||
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-06-01 | Sorted imports per isort 4.2.9. | Tim Graham | |
| 2017-05-04 | Refs #25546 -- Added detailed comments for prefetch_related test. | François Freitag | |
| 2017-05-04 | Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in ↵ | François Freitag | |
| nested Prefetches. | |||
| 2017-04-19 | Fixed #28096 -- Allowed prefetch calls with ModelIterable subclasses | Claude Paroz | |
| Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1. Thanks Tim Graham for the review. | |||
| 2017-03-17 | Replaced type-specific assertions with assertEqual(). | Tim Graham | |
| Python docs say, "it's usually not necessary to invoke these methods directly." | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-24 | Removed unneeded force_text calls in the test suite | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-17 | Refs #26226 -- Removed support for related manager classes without a ↵ | Tim Graham | |
| _apply_rel_filters() method. Per deprecation timeline. | |||
| 2017-01-09 | Made prefetch_related SQL inspection tests less brittle. | François Freitag | |
| After refs #16614, integers might appear outside the WHERE clause. | |||
| 2016-11-14 | Fixed #27463 -- Fixed E741 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-07-19 | Fixed #26916 -- Fixed prefetch_related when using a cached_property as to_attr. | Simon Charette | |
| Thanks Trac alias karyon for the report and Tim for the review. | |||
| 2016-05-31 | Fixed #26676 -- Prevented prefetching to_attr from caching its result in ↵ | Simon Charette | |
| through attr. Thanks Ursidours for the report. | |||
| 2016-05-03 | Refs #26565 -- Errored nicely when using Prefetch with a values() queryset. | Simon Charette | |
| Thanks Maxime Lorant for the report and Anssi for the suggestion. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-03-02 | Fixed #26226 -- Made related managers honor the queryset used for ↵ | Simon Charette | |
| prefetching their results. Thanks Loïc for the suggested improvements and Tim for the review. | |||
| 2016-03-02 | Refs #17001 -- Added a test for custom prefetch related queryset on generic ↵ | Simon Charette | |
| relations. | |||
| 2016-02-26 | Fixed #26264 -- Fixed prefetch_related() crashes with values_list(flat=True) | Attila Tovt | |
| 2016-02-26 | Fixed #25279 -- Made prefetch_related_objects() public. | Adam Chainz | |
| 2016-02-23 | Used setupTestData in prefetch_related tests. | Simon Charette | |
| 2016-01-26 | Fixed #25546 -- Prevented duplicate queries with nested prefetch_related(). | François Freitag | |
| 2015-12-17 | Fixed #25544 -- Removed duplicate ids in prefetch_related() queries. | Ian Foote | |
| 2015-11-11 | Refs #25693 -- Added a regression test for `to_attr` validation on forward m2m. | Simon Charette | |
| 2015-11-10 | Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField. | Ian Foote | |
| Thanks to Jamie Matthews for finding and explaining the bug. | |||
| 2015-09-21 | Renamed descriptor classes for related objects. | Aymeric Augustin | |
| The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-06-18 | Fixed #24873 -- Prevented nested Prefetch objects from being overwritten. | Gagaro | |
| 2015-06-15 | Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary keys | Brian King | |
| This resolves a problem on databases besides PostgreSQL when using prefetch_related with a source model that uses a UUID primary key. | |||
| 2015-02-06 | Fixed E265 comment style | Collin Anderson | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-09-29 | Fixed flake8 warnings. | Tim Graham | |
| 2014-09-29 | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | |
| Thanks Collin Anderson for the review. | |||
| 2014-09-09 | Avoid the word "stupid". | Aymeric Augustin | |
| There's always a better word. | |||
| 2014-06-05 | Reordered setUp code in prefetch_related tests. | Aymeric Augustin | |
| This allows these tests to run on databases that reject duplicate NULL values in unique fields e.g. SQL Server. Forward port of 4fb50a9a from stable/1.7.x. | |||
| 2014-05-21 | Fixed the ordering of prefetch lookups so that latter lookups can refer to ↵ | Loic Bistuer | |
| former lookups. Thanks Anssi Kääriäinen and Tim Graham for the reviews. Refs #17001 and #22650. | |||
| 2014-05-21 | Fixed #22650 -- Fixed regression on prefetch_related. | Loic Bistuer | |
| Regression from f51c1f59 when using select_related then prefetch_related on the reverse side of an O2O: Author.objects.select_related('bio').prefetch_related('bio__books') Thanks Aymeric Augustin for the report and tests. Refs #17001. | |||
