django – Creating templates and forms from the json specification

I would like to automate the creation of a Django application (basically a web page with a simple form).

I want to specify the fields / template in a JSON file and use it as input to create the template in the database and forms.

My first attempt would be to match the django-rest with the forms created by this tool https://json-editor.github.io/json-editor/.

Will it work? Is there a better option?