Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[HOTFIX] handling serialization/desrialization of the files properly;
  • Loading branch information
opalczynski committed Sep 26, 2016
commit ebf8e63717c2c4c55582087d96edd30f6813d26c
2 changes: 2 additions & 0 deletions syncano/models/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,8 @@ class FileField(WritableField):
param_name = 'files'

def to_native(self, value):
if isinstance(value, six.string_types):
return None
return {self.name: value}


Expand Down