阅读背景:

将一个QuerySet的两个ManyToManyField提供给HTML表列

来源:互联网 

I have a QuerySet with two ManyToManyFields, let's call them game.players_a and game.players_b. The number of values in one field is almost never the same as in the other field, but typically 1-50. I want to display their values in a template table, something like this:I have a QuerySet with two ManyToManyFields, le




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

分享到: