un1t / django-file-resubmit

It remembers selected files in form on validation errors.
76 stars 39 forks source link

A problem with corrupting file fix #8

Closed Uznick closed 6 years ago

Uznick commented 8 years ago

Hi. I've found the problem with current implementation for the library: it corrupts some binary files (resubmitting of them breaks them (for example zip files). The cause of it, I think, is that you serialiser text data (name, size etc) and binary data to the same cache file. In my implementation where we have two separate caches everything works fine.

Uznick commented 8 years ago

Hello? :)

un1t commented 6 years ago

Don't have time to support this project. Anyway, thank for your contribution.