You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uploading files inside a (stacked or tabular) inline form on the django admin interface doesn't work correctly: no file is actually uploaded. After selecting a file to upload and hitting save, an error is shown telling you that the file field is required. When this error is displayed and you retry the upload, uploading a file works correctly.
Checking with the Chrome devtools shows that nothing is actually getting uploaded when you select a file to upload, so this appears to be an issue with the form.
Tested with Django 1.6 with the default admin interface, django-admin-tools and django-suit. Verified that file uploads in regular forms (non-stacked) works correctly.
* add event listener for async initialisation
will default to ‘.s3upload’ , but can be passed custom event data for
more specific targeting
* add example of async init in action
Uploading files inside a (stacked or tabular) inline form on the django admin interface doesn't work correctly: no file is actually uploaded. After selecting a file to upload and hitting save, an error is shown telling you that the file field is required. When this error is displayed and you retry the upload, uploading a file works correctly.
Checking with the Chrome devtools shows that nothing is actually getting uploaded when you select a file to upload, so this appears to be an issue with the form.
Tested with Django 1.6 with the default admin interface, django-admin-tools and django-suit. Verified that file uploads in regular forms (non-stacked) works correctly.
Configuration in which it doesn't work (from the django tutorial polls app): https://gist.github.com/jorisvddonk/9fad25e43f30856e29eb
The text was updated successfully, but these errors were encountered: