I have an ImageField in my form. How would I enforce a file size min/max, something like --
image = forms.ImageField(max_size = 2MB)
or
image = forms.ImageField(min_size = 100k)
Thank you.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…