阅读背景:

如何配置Tastypie将字段视为唯一?

来源:互联网 

How do I configure Tastypie to treat a field as unique? My expectation would be to receive some sort of non-500 error (possibly a 409 conflict?) as a response if I try to insert duplicate entries for the field marked as unique. How do I configure Tastypie to treat a field as




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

分享到: