ATTENTION: there is a fork of this utility, at https://github.com/mbourqui/django-constrainedfilefield, that is more maintained and updated, and adds some nice features like a javascript validator. We recommend using ConstrainedFileField instead of ValidatedFile.