I don't know the answer, but you may want to check this out:
http://www.satchmoproject.com/

2011/8/23 ozgur yilmaz <yelb...@gmail.com>

> Hi, I have a problem.
>
> I have two models:
>
> class CheckOut(models.Model):
>   models.DateField()
>
> class Product(models.Model):
>   checkout = models.ForeignKey( CheckOut )
>   name = models.CharField()
>   price = models.FloatField()
>
> With these models, i want to contruct a CheckOut form, and select
> multiple products, calculate the amount ( price * item_number ).
>
> What is the most popular or best way to achieve this thought?
>
> I want to use popup windows to select a product and item number for
> checkout. If i can use a "add product" link in the form, and show a
> popup window to select the product and number, and return the values
> to the form, i would be glad.
>
> Thanks for your help,
>
> --
> 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
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
http://yasar.serveblog.net/

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to