阅读背景:

如何使用ModelChoiceField使用测试客户端和post方法测试Django表单

来源:互联网 

How do I use Django test client.post to test a form that has a ModelChoiceField? How should the data dictionary passed to the post method be written? The way I am doing does not select any value at all.How do I use Django test client.post to test a




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

分享到: