Fix indentation in LazyReferenceField ref doc

This commit is contained in:
Hamidreza 2019-02-13 21:27:54 +03:30 committed by GitHub
parent dc7922c38b
commit 4c054bf316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2251,9 +2251,9 @@ class LazyReferenceField(BaseField):
:param reverse_delete_rule: Determines what to do when the referring
object is deleted
:param passthrough: When trying to access unknown fields, the
:class:`~mongoengine.base.datastructure.LazyReference` instance will
automatically call `fetch()` and try to retrive the field on the fetched
document. Note this only work getting field (not setting or deleting).
:class:`~mongoengine.base.datastructure.LazyReference` instance will
automatically call `fetch()` and try to retrive the field on the fetched
document. Note this only work getting field (not setting or deleting).
"""
# XXX ValidationError raised outside of the "validate" method.
if (