Fixed comment.

This commit is contained in:
Mauro de Carvalho 2014-04-07 18:27:59 -03:00
parent 60ac3d7a76
commit 2a1571b3bf

View File

@ -164,7 +164,7 @@ class Field(object):
Called to set up a field prior to field_to_native or field_from_native.
parent - The parent serializer.
model_field - The model field this field corresponds to, if one exists.
field_name - The name of the field being initialized.
"""
self.parent = parent
self.root = parent.root or parent