Changeset 6488
- Timestamp:
- 10/13/07 21:13:13 (1 year ago)
- Files:
-
- django/branches/queryset-refactor/docs/db-api.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/queryset-refactor/docs/db-api.txt
r6466 r6488 1372 1372 Entry.objects.filter(blog__pk=3) # __pk implies __id__exact 1373 1373 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 1374 1379 Lookups that span relationships 1375 1380 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
