diff options
| author | Mauro de Carvalho | 2014-04-07 18:27:59 -0300 |
|---|---|---|
| committer | Mauro de Carvalho | 2014-04-07 18:27:59 -0300 |
| commit | 2a1571b3bf36ff153af68401f7aefa0620f80807 (patch) | |
| tree | 6bfbcf7af2dd24c54d09e153c8c13708057c242a /rest_framework/fields.py | |
| parent | 60ac3d7a76c4132d97d7e8047e25be253018280e (diff) | |
| download | django-rest-framework-2a1571b3bf36ff153af68401f7aefa0620f80807.tar.bz2 | |
Fixed comment.
Diffstat (limited to 'rest_framework/fields.py')
| -rw-r--r-- | rest_framework/fields.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/fields.py b/rest_framework/fields.py index 68b95682..946a5954 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -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 |
