django-admin-json-editor
django-admin-json-editor copied to clipboard
Doesn't validate the value with the JSONSchema.
import jsonschema
def clean(self):
try:
jsonschema.validate(data, SETTINGS_SCHEMA)
except jsonschema.exceptions.ValidationError as e:
raise forms.ValidationError(str(e))
@Natim are you saying the above is a solution to this bug?
I think that's what I did yes