How to change a field of model prior saving the model based on another field in django 3.1

前端 未结 0 1534
刺人心
刺人心 2021-01-13 06:13

I need to be able to set the KeyIndex field of the Settings model to a value that is equal to

lastExtension - firstExtension

How can i do that

this is t

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