Correct, using either null=True or blank=True on the field works.However, I don't get it since I didn't click on "save", I just wanted to display the add page containing it. Why does it attempt to validate the field at this time and not wait for the form to be sent ? Maybe this is how Django works ?
Whatever, I think you can set a default value in the JSONField to avoid the error, what do you think ? I think it's handy.
improvement:
def __init__(self, *args, **kwargs):
kwargs['default'] = kwargs.get('default', '{}')
super(JSONField, self).__init__(*args, **kwargs)
It works for me.
Another point: it does not like "extra" comma right ?
{
"nodes": { "title": "title", }
}
But I guess this is wanted because JSON does not allow it ?
Michael