serializers.py
40.6 KB
- 
ModelSerializer.restore_object - errors as list · 34c1da35When a ValueError is raised in ModelSerializer.restore_object, the error is set to a one-element list, rather than a bare string. John Whitlock committed
When a ValueError is raised in ModelSerializer.restore_object, the error is set to a one-element list, rather than a bare string.