Merge pull request #1860 from bagerard/improve_doc_EmbeddedDocumentList.filter
Improve doc of EmbeddedDocumentList.filter,
This commit is contained in:
commit
60fe919992
@ -234,6 +234,9 @@ class EmbeddedDocumentList(BaseList):
|
|||||||
Filters the list by only including embedded documents with the
|
Filters the list by only including embedded documents with the
|
||||||
given keyword arguments.
|
given keyword arguments.
|
||||||
|
|
||||||
|
This method only supports simple comparison (e.g: .filter(name='John Doe'))
|
||||||
|
and does not support operators like __gte, __lte, __icontains like queryset.filter does
|
||||||
|
|
||||||
:param kwargs: The keyword arguments corresponding to the fields to
|
:param kwargs: The keyword arguments corresponding to the fields to
|
||||||
filter on. *Multiple arguments are treated as if they are ANDed
|
filter on. *Multiple arguments are treated as if they are ANDed
|
||||||
together.*
|
together.*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user