mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
Merge pull request #1645 from tankorsmash/patch-1
tiny typo in the docstring
This commit is contained in:
commit
511e874185
|
@ -187,7 +187,7 @@ class Field(object):
|
||||||
|
|
||||||
def field_to_native(self, obj, field_name):
|
def field_to_native(self, obj, field_name):
|
||||||
"""
|
"""
|
||||||
Given and object and a field name, returns the value that should be
|
Given an object and a field name, returns the value that should be
|
||||||
serialized for that field.
|
serialized for that field.
|
||||||
"""
|
"""
|
||||||
if obj is None:
|
if obj is None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user