阅读背景:

django inlineformset,如何一次只允许1个布尔字段为真?

来源:互联网 

I have an inline formset. 1 of the attribute of the inline model is a boolean. I wish to keep only 1 of them set to True at any point of time. How can this be achieved. I have tried:I have an inline formset. 1 of the attribute of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: