Kaydet (Commit) 13693008 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Made small improvement to docs/topics/db/queries.txt -- added import statement…

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
üst 3ecf628b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment