From 9cbe5a2f07532b3fb27ce3cedc1eb51da7773ab3 Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Fri, 20 Dec 2024 08:38:47 +0100 Subject: [PATCH] fix(models): let the alternative_names field be null The migrations for this field were apparently made with `null=True` but this is not reflected in the models.py, so we add this argument now. --- apis_ontology/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis_ontology/models.py b/apis_ontology/models.py index 0e98680..d31befb 100644 --- a/apis_ontology/models.py +++ b/apis_ontology/models.py @@ -237,7 +237,7 @@ class Person( "prompt_before_delete": False, } - alternative_names = JSONEditorField(schema=schema, options=options) + alternative_names = JSONEditorField(schema=schema, options=options, null=True) # texts # "ÖBL Haupttext"