diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-03-29 15:26:58 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-03-29 15:26:58 +0000 |
| commit | 165772f37e4cbbc42e95404d6da69d70ed836806 (patch) | |
| tree | 6742698fa44f9772981bf559783f283d81fe0757 | |
| parent | ff1e505a15c46cca378792c14ec7b245c3d62473 (diff) | |
Comment correction, `get_list` is now `filter`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | tests/modeltests/or_lookups/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/or_lookups/models.py b/tests/modeltests/or_lookups/models.py index ee2cfd2b95..44dda0dc16 100644 --- a/tests/modeltests/or_lookups/models.py +++ b/tests/modeltests/or_lookups/models.py @@ -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> |
