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.
Merge pull request #3480 from halkyon/allowed_exts_doc_change

Fixing broken docs on setting allowed extensions on a FileField