django-filer icon indicating copy to clipboard operation
django-filer copied to clipboard

Default maximum file size is 256Mb

Open vxsx opened this issue 8 years ago • 6 comments

Filer doesn't currently set the maximum file size limit in the frontend part, so it takes one from the library https://github.com/enyo/dropzone/blob/d8ef7a82e6ab5447c1f2d9512c8e1bfd4de5ac9e/dist/dropzone.js#L122

This should be configurable

vxsx avatar Aug 02 '16 16:08 vxsx

There are also data-max-file-size="20" attributes throughout the code. I don't think they are currently used, but should also be cleaned up. https://github.com/divio/django-filer/search?utf8=%E2%9C%93&q=data-max-file-size

stefanfoulis avatar Jan 17 '17 10:01 stefanfoulis

Is there any workaround for this? I'm bumping into this issue now

malaretv avatar Jun 13 '17 17:06 malaretv

Ditto - curious about this too.

petrklus avatar Nov 08 '17 16:11 petrklus

@petrklus not necessarily a fix... but I ended up having to implement the upload form in my own template with the dropzone library set to a higher limit appropriate for our case

malaretv avatar Nov 15 '17 22:11 malaretv

Uploading via the button works without limit (only nginx or uwsgi may limit this, which is configurable). So you can just not use the drag&drop option (or disable it?).

lunemec avatar Dec 07 '17 09:12 lunemec

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 28 '22 21:07 stale[bot]

This will now be closed due to inactivity, but feel free to reopen it.

stale[bot] avatar Aug 31 '22 00:08 stale[bot]