mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 16:40:03 +03:00
Remove unnecessary object derive
This commit is contained in:
parent
99e721cd35
commit
bc2d8919f0
|
@ -603,7 +603,7 @@ The `to_internal_value()` method is called to restore a primitive datatype into
|
|||
|
||||
Let's look at an example of serializing a class that represents an RGB color value:
|
||||
|
||||
class Color(object):
|
||||
class Color:
|
||||
"""
|
||||
A color represented in the RGB colorspace.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user