Django saving json value to database/model

前端 未结 5 745
清歌不尽
清歌不尽 2020-12-28 19:30

Im new to django and im trying to save json to database. The problem is that im able to get data the data in my views but not sure how to save it in

5条回答
  •  心在旅途
    2020-12-28 20:24

    If you want to store the intact JSON, try using the django-jsonfield project: https://github.com/dmkoch/django-jsonfield

提交回复
热议问题