Doc fix thanks to @jabapyth (#206)
This commit is contained in:
parent
39dac7d4db
commit
156ca44a13
2 changed files with 3 additions and 1 deletions
|
|
@ -467,7 +467,8 @@ class QuerySet(object):
|
|||
|
||||
def with_id(self, object_id):
|
||||
"""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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue