django-flat-json-widget
django-flat-json-widget copied to clipboard
Handling simple strings
Hi, Have a use case where I want to be able to edit either a string or a JSON object, both are valid Django JSONField options. If I have a simple string the widget chops it apart, I think this is because of how _.template works, probably to solve this, the case needs to be detected and a different template needs to be used.