Skip to Content
Menu
This question has been flagged
1 Odpoveď
2644 Zobrazenia

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)



Avatar
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
2
dec 24
4551
1
nov 24
3374
2
apr 23
18459
1
mar 23
2575
4
aug 24
24529