Skip to content

Commit

Permalink
fix(models): let the alternative_names field be null
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
b1rger committed Dec 20, 2024
1 parent 2b39657 commit 0fe7609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0fe7609

Please sign in to comment.