mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-17 19:52:25 +03:00
Dead code.
Signed-off-by: James Tanner <tanner.jc@gmail.com>
This commit is contained in:
parent
dedfa01cb3
commit
888ad71d3c
|
@ -15,11 +15,6 @@ from rest_framework import status
|
||||||
from rest_framework.utils.serializer_helpers import ReturnDict, ReturnList
|
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):
|
def _get_error_details(data, default_code=None):
|
||||||
"""
|
"""
|
||||||
Descend into a nested data structure, forcing any
|
Descend into a nested data structure, forcing any
|
||||||
|
|
Loading…
Reference in New Issue
Block a user