Re: Adding a new row to the database in user form

2012-10-15 Thread Nicolas Emiliani
On Mon, Oct 15, 2012 at 3:16 AM, Satinderpal Singh <
satinder.goray...@gmail.com> wrote:

> Hello,
> I want to add a new row in the existing database table by using add
> button in the html form from the user as user can create as much rows
> in the table as he needed, how will i add this?
> Thanks, in advance.
>
>
Hi, correct me if I'm wrong but, it seems that you are talking about
formsets. Check this out :

https://docs.djangoproject.com/en/dev/topics/forms/formsets/


> --
> Satinderpal Singh
> http://satindergoraya.blogspot.in/
> http://satindergoraya91.blogspot.in/
>
> --
> 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.
>
>


-- 
Nicolas Emiliani

Lo unico instantaneo en la vida es el cafe, y es bien feo.

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



Adding a new row to the database in user form

2012-10-15 Thread Satinderpal Singh
Hello,
I want to add a new row in the existing database table by using add
button in the html form from the user as user can create as much rows
in the table as he needed, how will i add this?
Thanks, in advance.

-- 
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/

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