Re: Problem with formset

2012-11-04 Thread Lachlan Musicman
Ok, I admit that I saw the cd and stopped thinking straight - apologies. I don't know why you are getting the problem you are getting, but I would suggest that you should delete one indentation one the render_to_response line, so that it catches *everything* that falls through the cracks. Also, w

Re: Problem with formset

2012-11-01 Thread Sandeep kaur
On Fri, Nov 2, 2012 at 1:41 AM, Lachlan Musicman wrote: > > I think you are saying you don't understand my response? I'm asking if the > problem is fixed by replacing formset.save() - with cd.save(), since you > have cd = formset.cleaned_data but no other instances of cd, making it kinda > useles

Re: Problem with formset

2012-11-01 Thread Lachlan Musicman
On Thu, Nov 1, 2012 at 6:32 PM, Satinderpal Singh < satinder.goray...@gmail.com> wrote: > On Thu, Nov 1, 2012 at 1:25 AM, Lachlan Musicman wrote: > >> On Thu, Nov 1, 2012 at 7:30 AM, Satinderpal Singh >> wrote: >> > I use formset in my views.py file for the forms. It saves the entries >> from >>

Re: Problem with formset

2012-10-31 Thread Lachlan Musicman
On Thu, Nov 1, 2012 at 7:30 AM, Satinderpal Singh wrote: > I use formset in my views.py file for the forms. It saves the entries from > the form to the database but the problem is that it shows all the previous > forms along with the new form for the new entry. The code for my views file > is give