Skip to content

Commit

Permalink
update teams api
Browse files Browse the repository at this point in the history
  • Loading branch information
yaghoubi committed Dec 22, 2024
1 parent 9c86910 commit c3f0471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_daisy/fields/json_editor_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, *args, schema: dict, **kwargs):

def formfield(self, **kwargs):
kwargs.update({
'widget': JsonEditorWidget(schema_template=json.dumps(self.schema)),
'widget': JsonEditorWidget(schema_template=self.schema),
})
return super(JsonEditorField, self).formfield(**kwargs)

Expand Down

0 comments on commit c3f0471

Please sign in to comment.