How to save a python list object in Django into Redis hash using hset after getting model id's using values_list

后端 未结 0 1062
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-01 06:47

I am trying to set a list object from Django values list inside my Redis hash using json.dumps() however, I get the error:

the JSON object must be str, b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题