Admin integration
DataGreed opened this issue · 3 comments
DataGreed commented
Is there any way to use this library with django admin to upload files asynchronously? In my case I have a form with a lot of inlines. Each inline has a file field an I would like to be able to upload a lot of files at once while continuing working with the page.
mbraak commented
I have never done that, but it should be possible.
- You need to be able to define an admin form with
FileFormMixin
. - You have to run some custom javascript to call
initUploadFields
on each form.
mbraak commented
This is now supported in version 3.1.5. See http://mbraak.github.io/django-file-form/admin/