diff --git a/rest_framework/relations.py b/rest_framework/relations.py index 3c2132c5b..c5defa8cd 100644 --- a/rest_framework/relations.py +++ b/rest_framework/relations.py @@ -117,7 +117,7 @@ class RelatedField(Field): super().__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 # `ManyRelatedField` classes instead when `many=True` is set. if kwargs.pop('many', False): return cls.many_init(*args, **kwargs) diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py index 01f34298b..56e62bf4c 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -117,7 +117,7 @@ class BaseSerializer(Field): super().__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)