Fixing broken docs on setting allowed extensions on a FileField

Refers to an invalid variable, and is overriding the entire Upload,
which isn't necessary.