阅读背景:

使用自定义管理器方法创建fixture,json转储以及避免类型错误的方法:xxx不是json可序列化的

来源:互联网 

I'm trying to create a test fixture using custom manager methods as my app uses a subset of dbtables and fewer records. so i dropped the idea of using initial_data. In manager I'm doing something like this. in Managers.py: I'm trying to create a test fixture using custo




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

分享到: