阅读背景:

使用动态数量的字段创建Django表单类

来源:互联网 

I'm working on something like an online store. I'm making a form in which the customer buys an item, and she can choose how many of these item she would like to buy. But, on every item that she buys she needs to choose what its color would be. So there's a non-constant number of fields: If the customer buys 3 items, she should get 3 I'm working on something like an online store.




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

分享到: