From b3f64e16b0bfd79e9300b06002309d8aa4e20116 Mon Sep 17 00:00:00 2001 From: Roey Berman Date: Thu, 20 Nov 2014 18:51:33 +0200 Subject: [PATCH] fix docs for per query timeout --- docs/topics/queryset.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/topics/queryset.rst b/docs/topics/queryset.rst index 650f7d29..79c07e42 100644 --- a/docs/topics/queryset.rst +++ b/docs/topics/queryset.rst @@ -609,26 +609,31 @@ None means no timeout. Fetch all objects with a timeout of 5 seconds + .. code-block:: python Row.objects().timeout(5).all() Create a single row with a 50ms timeout + .. code-block:: python Row(id=1, name='Jon').timeout(0.05).create() Delete a single row with no timeout + .. code-block:: python Row(id=1).timeout(None).delete() Update a single row with no timeout + .. code-block:: python Row(id=1).timeout(None).update(name='Blake') Batch query timeouts + .. code-block:: python with BatchQuery(timeout=10) as b: