Django

Code

Changeset 5458

Show
Ignore:
Timestamp:
06/11/07 06:14:05 (1 year ago)
Author:
mtredinnick
Message:

Fixed #3807 -- Some small fixes to a couple of examples. Thanks,
jon.i.austin@gmail.com.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/db-api.txt

    r5438 r5458  
    389389underlying SQL statement, and the whole thing is enclosed in a ``NOT()``. 
    390390 
    391 This example excludes all entries whose ``pub_date`` is the current date/time 
     391This example excludes all entries whose ``pub_date`` is later than 2005-1-3 
    392392AND whose ``headline`` is "Hello":: 
    393393 
     
    399399    WHERE NOT (pub_date > '2005-1-3' AND headline = 'Hello') 
    400400 
    401 This example excludes all entries whose ``pub_date`` is the current date/time 
    402 OR whose ``headline`` is "Hello":: 
     401This example excludes all entries whose ``pub_date`` is later than 2005-1-3 
     402AND whose headline is NOT "Hello":: 
    403403 
    404404    Entry.objects.exclude(pub_date__gt=datetime.date(2005, 1, 3)).exclude(headline='Hello')