fixes issue #119 db: attached file argument is incorrect in views.py