django-file-resubmitKeeps submitted files when validation errors occur | |
Download |
django-file-resubmit Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Ilya Shalyapin
- Publisher web site:
- https://github.com/un1t/
django-file-resubmit Tags
django-file-resubmit Description
In Django project you have forms with FileField, ImageField. Everything works great, but when ValidationError is raised, you have to reselect all files and images again. It is kind of annoying. django-file-resubmit is a Django app that solves this problem. It works with FileField, ImageField and sorl.thumbnail.ImageField.The original idea was developed by team of https://github.com/generalov/django-resubmit. django-file-resubmit was started to avoid some restrictions of django-resubmit, such as supporting last version of sorl-thumbnail, simplify configuration and integration with a project.How does it work?Here are advanced widgets for FileField and ImageField. When you submit files, every widget saves its file in cache. And when ValidationError is raised, widgets restore files from cache.Installationpip install -e git+git://github.com/un1t/django-file-resubmit.git#egg=file_resubmitProduct's homepage
django-file-resubmit Related Software