django admin - adding fields on the fly

Posted by Thomas on Stack Overflow See other posts from Stack Overflow or by Thomas
Published on 2010-03-21T21:04:25Z Indexed on 2010/03/21 21:11 UTC
Read the original article Hit count: 547

Basically I am writing a simple shopping cart. Each item can have multiple prices. (i.e. shirts where each size is priced differently). I would like to have a single price field in my admin panel, where when the first price is entered, an additional price field pops up. However I am kind of at a loss as to how to do this. What would be the best way to do this?

© Stack Overflow or respective owner

Related posts about python

Related posts about django