Ticket #13869: 13869.diff

File 13869.diff, 798 bytes (added by Tim Graham, 12 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.
    14581458
     1459.. warning::
     1460
     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`_.
     1465
     1466.. _server side cursors: http://initd.org/psycopg/docs/usage.html#server-side-cursors
     1467
    14591468latest
    14601469~~~~~~
    14611470
Back to Top