diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/queries.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index dbbab4e74d..130f378c90 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -679,6 +679,7 @@ collection of keyword arguments. These keyword arguments are specified as in For example, this ``Q`` object encapsulates a single ``LIKE`` query:: + from django.db.models import Q Q(question__startswith='What') ``Q`` objects can be combined using the ``&`` and ``|`` operators. When an |
