summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2011-08-26 08:42:38 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2011-08-26 08:42:38 +0000
commit4d2151196163f401c42da5adae4bb06f6adf3d71 (patch)
treec579bd56331f48a13100b77e3807a43677e8547b /docs/ref/models
parentc9da5db701096813e3a7b4c64a80f4ad42a8eef8 (diff)
Clarify the documentation around SQLite and case-sensitive string matching.
This was still causing some confusion, so I rewrote the section in the database notes to encompass both substring matching and non-ASCII case-insensitive equality checks, as well as putting in a stronger callout on the "contains" filter. Refs #16569. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/querysets.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 0a8adf6446..729efc1aa2 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -1476,8 +1476,12 @@ SQL equivalent::
Note this will match the headline ``'Today Lennon honored'`` but not
``'today lennon honored'``.
-SQLite doesn't support case-sensitive ``LIKE`` statements; ``contains`` acts
-like ``icontains`` for SQLite.
+.. admonition:: SQLite users
+
+ SQLite doesn't support case-sensitive ``LIKE`` statements; ``contains``
+ acts like ``icontains`` for SQLite. See the :ref:`database note
+ <sqlite-string-matching>` for more information.
+
.. fieldlookup:: icontains