I am working on a Django based website. I have defined a JSONFields in my backend DB table , let's called it "CampaignTable" The JSONFields is used to store Campaign parameters which might differ from campaign to campaign. I want to collect campaign configuration from web user in a form , this form is actually transfer from JSONFields (key:value) to Form (fields:value) Is there a way to do it in Django or any plugins I can use ?
Asked
Active
Viewed 63 times
0
-
I've created an app called [django-jsonform](https://github.com/bhch/django-jsonform) for the admin ui to create dynamic forms from JSON schema. But it's only for the admin site. – xyres May 16 '22 at 12:57
-
@xyres any suggestions on how can I do it on any JSONFields ? Is there any key part in your projects I can refer to ;) – Jia May 16 '22 at 13:45
-
1There are other projects. Lookup "JSON schema form" on github. You'll find some good projects for your purposes. – xyres May 16 '22 at 17:53
-
I found something I want : https://react-jsonschema-form.readthedocs.io/en/latest/ . I guess I need to use React as my frontend framework . Thank you for your suggestion @xyres – Jia May 16 '22 at 22:50