response = HttpResponse(content_type='application/force-download')
response.write(attachment.file.read())
base, ext = attachment.filename().rsplit('.', 1)
response = HttpResponse(content_type='application/force-download')
response.write(attachment.file.read())
base, ext = attachment.filename().rsplit('.', 1)