From 136930085bb9e8ed434b6b9aeddd58e336f96f5e Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 3 Mar 2011 21:04:32 +0000 Subject: [PATCH] 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 --- docs/topics/db/queries.txt | 1 + 1 file changed, 1 insertion(+) 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