Rectified typo

This commit is contained in:
waqashamid 2019-04-13 11:07:28 +05:30
parent 29cbe574a3
commit 3a2b0a6b62

View File

@ -118,7 +118,7 @@ class BaseSerializer(Field):
super(BaseSerializer, self).__init__(**kwargs)
def __new__(cls, *args, **kwargs):
# We override this method in order to automagically create
# We override this method in order to automatically create
# `ListSerializer` classes instead when `many=True` is set.
if kwargs.pop('many', False):
return cls.many_init(*args, **kwargs)