开发者

Django admin add page, how to, autofill with latest data(0002)+1=0003

When adding a new data, can we automatically add a dynamic default data where the value is previous recorded data(000开发者_JAVA技巧2)+1=0003


Not reliably. What will happen if multiple people access it at the same time is that data will be overwritten. Let the PK serve its purpose, behind the scenes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜