Pseudo-form in Django admin that generates a json object on save

前端 未结 7 1115
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-23 18:07

I have a model with a field for a json object. This object is used on the site to control some css variables, among other things.

Right now in the admin, I have a t

7条回答
  •  长情又很酷
    2020-12-23 18:58

    I had similar task. I resolved it by creating Django form widget. You can try it for yours applications django-SplitJSONWidget-form

提交回复
热议问题