thanks,

but i think i have to use a suitable js for adding a new product. am i wrong?

2011/8/23 Shawn Milochik <sh...@milochik.com>:
> On 08/22/2011 05:21 PM, ozgur yilmaz wrote:
>>
>> thats not the answer. you can add item to basket by clicking a button
>> "add to basket" on every item page. My purpose is to fill a single
>> form, with 1 or many products. Than a single button, saves a checkout
>> object and many product object.
>
> Use formsets, or dynamically generate HTML input fields with prefixes in the
> names and, in your view, dynamically instantiate ModelForm instances with
> each prefix and save them.
>
>
> --
> 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.
>
>

-- 
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