Ok I worked myself a bit in trouble.
Don't know yet how to do this with newforms:

Let me explain and dumb down my problem to make things easy:
two models:
model 1: Products
I got "products" that have each a name and a price

Model 2: Options
Option has a foreingkey pointing to products but also a name and a
price. Name and price is there because after a save they should be
independend of Products...

The behavior should be like this:
A user gets a list of Checkboxes. Made up from the products.
besides each checkbox a input field with the price is displayed.
The user can override the price and enter an other price.

This data needs to be saved in Options. A record for each product
selected with the name and price in it. This is because the product
name can change in the future and the price can change. So this should
be stored in Options.

My problem is that I don't know yet how to do this.

Can somebody explain me how I should do this with newsforms...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to