summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-20 12:44:34 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-20 12:44:34 +0000
commit8f9e7035a9c998540e68129cf4fd383bc64a66df (patch)
tree01e7e6bcf3dd85d3daaf9e6fd07b634c16bf8c7e /docs
parent675db84f2303650140f867b31dbac9b7edf71eb3 (diff)
Changed the indenting level on a couple of subsections, since they're not
children of the "pk lookup shortcut" section. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/db-api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 80f8a2d60b..e9b5c05f6b 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -1372,7 +1372,7 @@ equivalent::
Entry.objects.filter(blog__pk=3) # __pk implies __id__exact
Lookups that span relationships
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-------------------------------
Django offers a powerful and intuitive way to "follow" relationships in
lookups, taking care of the SQL ``JOIN``\s for you automatically, behind the
@@ -1396,7 +1396,7 @@ whose ``headline`` contains ``'Lennon'``::
Blog.objects.filter(entry__headline__contains='Lennon')
Escaping percent signs and underscores in LIKE statements
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+---------------------------------------------------------
The field lookups that equate to ``LIKE`` SQL statements (``iexact``,
``contains``, ``icontains``, ``startswith``, ``istartswith``, ``endswith``