Django Admin: Give initial data to form field

后端 未结 0 1600
执笔经年
执笔经年 2021-02-18 17:44

I need to manually add an entry to the database via the admin panel, but the admin should not be able to set all the values:

#models.py
class Product(models.Model         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题