On 8/26/05, paolo <[EMAIL PROTECTED]> wrote:
> I'd like that once a user select or change a component from the
> component's listbox, its price appears somewhere. I'd like to avoid the
> javascript solution, as probably it wouldn't be trivial and I don't
> know javascript well.. So I thought to change __repr__ to return a
> tuple containing self.code and self.price, but some problems arise.

Yeah, I'd change it so that the __repr__() for Component displays the
price. Which problems did you run into?

-- 
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to