Ticket #13869: 13869.diff

File 13869.diff, 798 bytes (added by Tim Graham, 11 years ago)
  • docs/ref/models/querysets.txt

    diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
    index 8583719..1134311 100644
    a b evaluated will force it to evaluate again, repeating the query. 
    14561456Also, use of ``iterator()`` causes previous ``prefetch_related()`` calls to be
    14571457ignored since these two optimizations do not make sense together.
     1459.. warning::
     1461    Some Python database drivers, like ``psycopg2`` perform caching if using
     1462    client side cursors (the default). Using ``iterator()`` does not affect
     1463    caching at the database driver level. To disable this caching, look at
     1464    `server side cursors`_.
     1466.. _server side cursors: http://initd.org/psycopg/docs/usage.html#server-side-cursors
Back to Top