How to store arbitrary name/value key pairs in a Django model?

后端 未结 5 526
没有蜡笔的小新
没有蜡笔的小新 2021-02-03 11:02

I have a fixed data model that has a lot of data fields.

class Widget(Models.model):
    widget_owner = models.ForeignKey(auth.User)
    val1 = models.CharField()
            


        
5条回答
提交回复
热议问题