diff options
| author | James Bennett <ubernostrum@gmail.com> | 2009-09-23 23:41:35 +0000 |
|---|---|---|
| committer | James Bennett <ubernostrum@gmail.com> | 2009-09-23 23:41:35 +0000 |
| commit | f8c97127bb494a4b1daae04dc812a54c1917f7fc (patch) | |
| tree | 1b217fd2fb30a9b1c201ceeb18eb13ed1d7ec942 /docs/topics/db | |
| parent | 880a4474977639e94f8d1670af5a985b2bd881ae (diff) | |
[1.1.X] Fixed #11931: Removed mention of nonexistent get_sql() method for arguments to limit_choices_to. Since the correct reference involves undocumented ORM internals, this simply removes the reference entirely in favor of publicly-documented use of Q objects. Backport of [11591] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/db')
| -rw-r--r-- | docs/topics/db/queries.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index 5e353b2ec3..968ea7fbc8 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -622,6 +622,8 @@ To avoid this problem, simply save the ``QuerySet`` and reuse it:: >>> print [p.headline for p in queryset] # Evaluate the query set. >>> print [p.pub_date for p in queryset] # Re-use the cache from the evaluation. +.. _complex-lookups-with-q: + Complex lookups with Q objects ============================== |
