hi ![]()
i was thinking maybe we could add validation for max and min size of user uploaded files in django.forms.fields.FileField
i think i can implement this myself, if accepted
is this something you would want to see in django?
hi ![]()
i was thinking maybe we could add validation for max and min size of user uploaded files in django.forms.fields.FileField
i think i can implement this myself, if accepted
is this something you would want to see in django?
Yes, I’d like to see max file size at least. This could be through a field parameter (most convenient) or a validator (more flexible).
Looking around the docs, I couldn’t find any advice on setting a maximum file size, which I think is a bit odd!