Changes between Initial Version and Version 1 of Ticket #25756, comment 2
- Timestamp:
- Jan 5, 2016, 6:22:38 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25756, comment 2
initial v1 3 3 So far I found several problems: 4 4 5 1. If you use a FileField this field is using a descriptor to transform strings into File objects , which is why the array field is always returning strings and not file objects.5 1. If you use a FileField this field is using a descriptor to transform strings into File objects (instead of to_python), which is why the array field is always returning strings and not file objects. 6 6 7 7 2. The save method of FileField is setting the instance file attribute to a file, which in this case is wrong because it should be a list of files.