MCPcopy
hub / github.com/django/django / JSONModel

Class JSONModel

tests/schema/tests.py:4430–4434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4428 @isolate_apps("schema")
4429 def test_func_index_json_key_transform(self):
4430 class JSONModel(Model):
4431 field = JSONField()
4432
4433 class Meta:
4434 app_label = "schema"
4435
4436 with connection.schema_editor() as editor:
4437 editor.create_model(JSONModel)

Callers

nothing calls this directly

Calls 1

JSONFieldClass · 0.90

Tested by

no test coverage detected