Django

Code

Changeset 6488

Show
Ignore:
Timestamp:
10/13/07 21:13:13 (1 year ago)
Author:
mtredinnick
Message:

queryset-refactor: Re-added a docs change that was accidentally lost in the merge in [6466].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/queryset-refactor/docs/db-api.txt

    r6466 r6488  
    13721372    Entry.objects.filter(blog__pk=3) # __pk implies __id__exact 
    13731373 
     1374.. note:: 
     1375    Because of this shortcut, you cannot have a field called ``pk`` that is not 
     1376    the primary key of the model. It will always be replaced by the name of the 
     1377    model's primary key in queries. 
     1378 
    13741379Lookups that span relationships 
    13751380~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~