阅读背景:

有条件地覆盖模型Django admin成功保存的消息

来源:互联网 

I am overriding the save method on a Django model. There are some cases where I do not save the model. In these cases, I can't seem to be able to figure out how to conditionally override the "The citation 1111 was added successfully." message that is shown after returning back to the admin list interface (as opposed to the entry form interface).I am overriding the save method on a Django mod




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

分享到: