Doc fix thanks to @jabapyth (#206)

This commit is contained in:
Ross Lawley 2013-01-28 16:49:34 +00:00
parent 39dac7d4db
commit 156ca44a13
2 changed files with 3 additions and 1 deletions

View File

@ -142,3 +142,4 @@ that much better:
* lcya86 刘春洋 * lcya86 刘春洋
* Martin Alderete (https://github.com/malderete) * Martin Alderete (https://github.com/malderete)
* Nick Joyce * Nick Joyce
* Jared Forsyth

View File

@ -467,7 +467,8 @@ class QuerySet(object):
def with_id(self, object_id): def with_id(self, object_id):
"""Retrieve the object matching the id provided. Uses `object_id` only """Retrieve the object matching the id provided. Uses `object_id` only
and raises InvalidQueryError if a filter has been applied. and raises InvalidQueryError if a filter has been applied. Returns
`None` if no document exists with that id.
:param object_id: the value for the id of the document to look up :param object_id: the value for the id of the document to look up