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

View File

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