Changes between Initial Version and Version 1 of Ticket #25756, comment 2


Ignore:
Timestamp:
Jan 5, 2016, 6:22:38 AM (9 years ago)
Author:
Riccardo Di Virgilio

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25756, comment 2

    initial v1  
    33So far I found several problems:
    44
    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.
     51. 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.
    66
    772. 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.
Back to Top