阅读背景:

如何用django在ascii编码的postgres bytea字段中保存图像

来源:互联网 

I'm trying to save an image in django by converting it to base64 and saving it to 'bytea' field in postgresql. I've managed to do it, but the string is encoded in UTF8. Is there a way I could encode to ascii just for this field?I'm trying to save an image in django by conver




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: