From a0ccd5062346939219f4fa37d3257c213d0d9780 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Sat, 16 Jan 2010 13:34:19 +0000 Subject: [PATCH] [1.1.X] Fixed #12622 - exists() mentioned in 1.1 docs Thanks for the report kmike. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12231 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/models/querysets.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index d030e32f09..9512dd0895 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -74,10 +74,6 @@ You can evaluate a ``QuerySet`` in the following ways: if Entry.objects.filter(headline="Test"): print "There is at least one Entry with the headline Test" - Note: *Don't* use this if all you want to do is determine if at least one - result exists, and don't need the actual objects. It's more efficient to - use ``exists()`` (see below). - .. _pickling QuerySets: Pickling QuerySets