From 48b849c0319e5f35b81eeb926e7540d3d168aa78 Mon Sep 17 00:00:00 2001 From: lalala223 Date: Wed, 13 Mar 2019 17:50:54 +0800 Subject: [PATCH] Update querying.rst Fix the 'not' operator error example. --- docs/guide/querying.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/querying.rst b/docs/guide/querying.rst index 08987835..151855a6 100644 --- a/docs/guide/querying.rst +++ b/docs/guide/querying.rst @@ -64,7 +64,7 @@ Available operators are as follows: * ``gt`` -- greater than * ``gte`` -- greater than or equal to * ``not`` -- negate a standard check, may be used before other operators (e.g. - ``Q(age__not__mod=5)``) + ``Q(age__not__mod=(5, 0))``) * ``in`` -- value is in list (a list of values should be provided) * ``nin`` -- value is not in list (a list of values should be provided) * ``mod`` -- ``value % x == y``, where ``x`` and ``y`` are two provided values