summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2011-03-03 21:04:32 +0000
committerAdrian Holovaty <adrian@holovaty.com>2011-03-03 21:04:32 +0000
commit136930085bb9e8ed434b6b9aeddd58e336f96f5e (patch)
treedc0316dd03fbf7a6a5edc46a07ed3cf444b0fcc7 /docs
parent3ecf628b3650e0f9f086b1ae77b43ad5df48a92e (diff)
Made small improvement to docs/topics/db/queries.txt -- added import statement to 'Complex lookups with Q objects' for easier scanning
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/queries.txt1
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