diff --git a/rest_framework/exceptions.py b/rest_framework/exceptions.py index 1f6d80cd9..6a95acad8 100644 --- a/rest_framework/exceptions.py +++ b/rest_framework/exceptions.py @@ -15,11 +15,6 @@ from rest_framework import status from rest_framework.utils.serializer_helpers import ReturnDict, ReturnList -class SafeReplacerDict(dict): - def __missing__(self, key): - return key - - def _get_error_details(data, default_code=None): """ Descend into a nested data structure, forcing any