Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion r12231 - django/branches/releases/1.1.X /docs/ref/models
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nore...@djangoproject.com  
View profile  
 More options Jan 16 2010, 8:34 am
From: nore...@djangoproject.com
Date: Sat, 16 Jan 2010 07:34:20 -0600 (CST)
Local: Sat, Jan 16 2010 8:34 am
Subject: [Changeset] r12231 - django/branches/releases/1.1.X/docs/ref/ models
Author: lukeplant
Date: 2010-01-16 07:34:19 -0600 (Sat, 16 Jan 2010)
New Revision: 12231

Modified:
   django/branches/releases/1.1.X/docs/ref/models/querysets.txt
Log:
[1.1.X] Fixed #12622 - exists() mentioned in 1.1 docs

Thanks for the report kmike.

Modified: django/branches/releases/1.1.X/docs/ref/models/querysets.txt
===================================================================
--- django/branches/releases/1.1.X/docs/ref/models/querysets.txt        2010-01-16 03:26:02 UTC (rev 12230)
+++ django/branches/releases/1.1.X/docs/ref/models/querysets.txt        2010-01-16 13:34:19 UTC (rev 12231)
@@ -74,10 +74,6 @@
           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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.