阅读背景:

Django admin:基于其他内联更新内联

来源:互联网 

Hi,

In admin panel I have created form for adding Product. Form includes 2 inline formsets as there are some models related to Product. User can create Product, then define variations of that product which different attributes. I`ll illustrate this with example. User has a t-shirt of one brand in 3 different colors and want to add them with different prices. T-shirt is created as Product with 3 Variations.In admin panel I have created form for a




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

分享到: