1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Comment correction, get_list is now filter.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2008-03-29 15:26:58 +00:00
parent ff1e505a15
commit 165772f37e

View File

@ -92,7 +92,7 @@ __test__ = {'API_TESTS':"""
>>> 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>