标签: jsonfield

Django 3.1+: (fields.E180) SQLite does not support JSONFields

I have created a Django project with the new JSONField announced in Django 3.1, which supports all databases.

I have successfully used this field on a linux machine, but running python manage.py migrate with the same project on Windows fails with the following message:

(fields.E180) SQLite does not support JSONFields.
Run Code Online (Sandbox Code Playgroud)

The same versions of Python and Django are used in both PCs.

sqlite django jsonfield django-3.1

5
推荐指数
1
解决办法
5410
查看次数

标签 统计

django ×1

django-3.1 ×1

jsonfield ×1

sqlite ×1