summaryrefslogtreecommitdiff
path: root/docs/db-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/db-api.txt')
-rw-r--r--docs/db-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt
index 8349576820..72e03e5a88 100644
--- a/docs/db-api.txt
+++ b/docs/db-api.txt
@@ -173,7 +173,7 @@ The DB API supports the following lookup types:
in In a given list: ``polls.get_list(id__in=[1, 3, 4])`` returns
a list of polls whose IDs are either 1, 3 or 4.
startswith Case-sensitive starts-with:
- ``polls.get_list(question_startswith="Would")``. (PostgreSQL
+ ``polls.get_list(question__startswith="Would")``. (PostgreSQL
and MySQL only. SQLite doesn't support case-sensitive LIKE
statements; ``startswith`` will act like ``istartswith`` for
SQLite.)