Gary-Community-Ventures / benefits-api

MIT License
4 stars 4 forks source link

Config model UI (Implementation) #487

Closed Linda-Vu closed 2 weeks ago

Linda-Vu commented 1 month ago

From Mo's research on #1162, he found two approaches. Caleb suggested the first approach.

two approaches:

  1. There are django packages that provides a better view for modifying JSON values in the django admin interface. An example for this is django-json-widget which provides a tree view among others that is more intuitive in editing the configuration objects: Screenshot 2024-07-25 211359

  2. For this approach similar to the Translations API, separate routes can be added to redirect to custom templates for modifying configuration objects' JSON values.