Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Comment correction, `get_list` is now `filter`.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 165772f37e4cbbc42e95404d6da69d70ed836806 1 parent ff1e505
@gdub gdub authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/modeltests/or_lookups/models.py
View
2  tests/modeltests/or_lookups/models.py
@@ -92,7 +92,7 @@ def __unicode__(self):
>>> Article.objects.filter(Q(headline__contains='bye'), headline__startswith='Hello')
[<Article: Hello and goodbye>]
-# Try some arg queries with operations other than get_list
+# Try some arg queries with operations other than filter.
>>> Article.objects.get(Q(headline__startswith='Hello'), Q(headline__contains='bye'))
<Article: Hello and goodbye>
Please sign in to comment.
Something went wrong with that request. Please try again.