开发者

Django unit tests with custom table names

Has anyone successfully used Django unit tests with custom table names? If so, were there a开发者_StackOverflow社区ny special hoops you had to jump through in order to get it to work?


Has anyone successfully used Django unit tests with custom table names?

Yes. I have.

If so, were there any special hoops you had to jump through in order to get it to work?

No.

Whats your real question? If you put the real table name in the model under 'Meta', django creates tables in corresponding names.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜