mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
typo in the docs
This commit is contained in:
parent
e11f41ebc4
commit
544183f64f
|
@ -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