Commit 4495ac46 by Carlton Gibson

Merge pull request #1511 from maurodec/master

Fixed comment.
parents 60ac3d7a 2a1571b3
...@@ -164,7 +164,7 @@ class Field(object): ...@@ -164,7 +164,7 @@ class Field(object):
Called to set up a field prior to field_to_native or field_from_native. Called to set up a field prior to field_to_native or field_from_native.
parent - The parent serializer. 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.parent = parent
self.root = parent.root or parent self.root = parent.root or parent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment