Django 1.9 - JSONField in Models

后端 未结 6 602
天命终不由人
天命终不由人 2020-12-30 02:16

I\'m trying to set up a models file in Django 1.9 using the new JSONField. I have found examples using postgres but none with MySql. In the examples with postgres they do

6条回答
  •  轮回少年
    2020-12-30 02:53

    For today I'd recommend using jsonfield2 or waiting for native JSON support for all database backends in Django 3.

提交回复
热议问题