Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2651 Представления

I am getting this error when submitting a file input to controller 

TypeError: argument should be a bytes-like object or ASCII string, not 'FileStorage'

record_file = fields.Binary(string='file', attachment=True, help="Upload the snap",website_form_blacklisted=False)



Аватар
Отменить

this question is incomplete like not asking anything or not providing enough information about the issue

Related Posts Ответы Просмотры Активность
2
дек. 24
4586
1
нояб. 24
3398
2
апр. 23
18515
1
мар. 23
2598
4
авг. 24
24575