This surprised me today. Given a model like this
class FileModel(models.Model):
file = models.FileField(blank=False, null=False)
file_nullable = models.FileField(null=True)
You can actually just do
a = FileModel.objects.create()
which validly saves to the database as blank strings. They both return FieldFiles with none
>>> a.file
<FieldFile: None>
Is it ignoring the null and blank settings? Is it not possible to have a non-null file field?