tags:

views:

13

answers:

0

What is the right way to test whether a Django FileField is blank, i.e., when no file has been uploaded?

It looks like the name attribute is u'' when the field is blank, but I don't know whether that is reliable.