Code

Ticket #13869: 13869.diff

File 13869.diff, 798 bytes (added by timo, 21 months ago)
Line 
1diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
2index 8583719..1134311 100644
3--- a/docs/ref/models/querysets.txt
4+++ b/docs/ref/models/querysets.txt
5@@ -1456,6 +1456,15 @@ evaluated will force it to evaluate again, repeating the query.
6 Also, use of ``iterator()`` causes previous ``prefetch_related()`` calls to be
7 ignored since these two optimizations do not make sense together.
8 
9+.. warning::
10+
11+    Some Python database drivers, like ``psycopg2`` perform caching if using
12+    client side cursors (the default). Using ``iterator()`` does not affect
13+    caching at the database driver level. To disable this caching, look at
14+    `server side cursors`_.
15+
16+.. _server side cursors: http://initd.org/psycopg/docs/usage.html#server-side-cursors
17+
18 latest
19 ~~~~~~
20