1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-08-12 16:24:48 +03:00

Merge pull request from estebistec/fix-serializer-from-native-sig

FIX BaseSerializer.from_native has an altered signature
This commit is contained in:
Tom Christie 2014-01-02 23:27:26 -08:00
commit c3f8c8ffde

View File

@ -331,7 +331,7 @@ class BaseSerializer(WritableField):
return ret
def from_native(self, data, files):
def from_native(self, data, files=None):
"""
Deserialize primitives -> objects.
"""