def test_use_jsonfield_form_field(self):
with self.settings(USE_NATIVE_JSONFIELD=False):
from jsonfield_compat.forms import JSONFormField
from jsonfield.forms import JSONFormField as _JSONFormField
self.assertTrue(JSONFormField is _JSONFormField)
评论列表
文章目录