abogushov / django-admin-json-editor

Adds json-editor for JSONField in Django Administration
MIT License
173 stars 61 forks source link

Set and render new DATA_SCHEMA #19

Open MikhailPavlov opened 6 years ago

MikhailPavlov commented 6 years ago

Is there a way to set and render new data_schema on the page? The problem is to set json schema value on another field change event.

abogushov commented 6 years ago

@MichaelPavlov there is an example with dynamic schema https://github.com/abogushov/django-admin-json-editor#dynamic-schema but schema will be generated when page will loaded. Dynamic schema during editing is not supported in my opinion.