mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #29984 -- Made QuerySet.iterator() without chunk_size raise ValueError after prefetch_related().
Per deprecation timeline.
This commit is contained in:
@@ -2476,12 +2476,6 @@ value for ``chunk_size`` will result in Django using an implicit default of
|
||||
Depending on the database backend, query results will either be loaded all at
|
||||
once or streamed from the database using server-side cursors.
|
||||
|
||||
.. deprecated:: 4.1
|
||||
|
||||
Using ``iterator()`` on a queryset that prefetches related objects without
|
||||
providing the ``chunk_size`` is deprecated. In Django 5.0, an exception
|
||||
will be raise.
|
||||
|
||||
With server-side cursors
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user