diff options
| author | Yuri Prezument | 2013-01-03 08:28:17 +0200 |
|---|---|---|
| committer | Yuri Prezument | 2013-01-03 08:28:17 +0200 |
| commit | 3f5e938247ab05efbc8e9a2a21ef1a610231a763 (patch) | |
| tree | 8ff255a051b914a6bc317ac0fe8123e3afb0f168 /rest_framework/fields.py | |
| parent | f2625fc38cdafd795981bd72134b84d6a2c79841 (diff) | |
| download | django-rest-framework-3f5e938247ab05efbc8e9a2a21ef1a610231a763.tar.bz2 | |
Some cleanup
Diffstat (limited to 'rest_framework/fields.py')
| -rw-r--r-- | rest_framework/fields.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/fields.py b/rest_framework/fields.py index a4cc7f3b..a022fe09 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -181,7 +181,7 @@ class WritableField(Field): try: if self._use_files: - files = files or {} # For the case when files==None + files = files or {} native = files[field_name] else: native = data[field_name] |
