Re: inlineformset_factory KeyError after updating

2009-01-06 Thread Alistair Marshall
2009/1/6 : > The problem is this bit in main_form.html, around line 37: > > {% ifnotequal field.label "Id" %} > {{ field }} > {% endifnotequal %} > > The omitted ID is causing your KeyError; leave it in the form. > Excellent, It had been removed to neaten the form. Silly really. Th

Re: inlineformset_factory KeyError after updating

2009-01-06 Thread john
On Jan 6, 2009, at 4:18 AM, Alistair Marshall wrote: > When creating a new feed unit the system works fine. However if you go > and edit an existing feed unit, an error gets thrown when saving the > form. The problem is this bit in main_form.html, around line 37: {% ifnotequal field.label

Re: inlineformset_factory KeyError after updating

2009-01-06 Thread Alistair Marshall
I have created a cut down version of my project and placed it on my website [1] The project was part of a pinax project, though I have ripped out the main app and made it stand alone. As a result there is no facility to login or manage accounts. I have commented out or removed all parts of permis

Re: inlineformset_factory KeyError after updating

2009-01-05 Thread Alistair Marshall
2009/1/5 Alistair Marshall : Upgraded to 1.0.2 I'll try and create a cut down version-that may take some time (it is getting to be a large project) Thanks -- Alistair Marshall www.thatscottishengineer.co.uk --~--~-~--~~~---~--~~ You received this message becau

Re: inlineformset_factory KeyError after updating

2009-01-05 Thread Karen Tracey
On Mon, Jan 5, 2009 at 11:33 AM, Alistair Marshall < runninga...@googlemail.com> wrote: > > 2009/1/5 Karen Tracey : > > First, I would try 1.0.2 release or current trunk or 1.0.X branch instead > of > > 1.0. There have been additional fixes in this area that you may need, > > depending on what yo

Re: inlineformset_factory KeyError after updating

2009-01-05 Thread Alistair Marshall
2009/1/5 Karen Tracey : > First, I would try 1.0.2 release or current trunk or 1.0.X branch instead of > 1.0. There have been additional fixes in this area that you may need, > depending on what you are doing. > Just upgraded now - no difference > If that doesn't fix it, please post some specifi

Re: inlineformset_factory KeyError after updating

2009-01-05 Thread Karen Tracey
On Mon, Jan 5, 2009 at 10:01 AM, Alistair Marshall < runninga...@googlemail.com> wrote: > > I appear to be having the same trouble as explained in a previous > thread [1] (and for some reason cant find the button to reply to the > last thread ???) > > The other thread points to a bug that was fixe

inlineformset_factory KeyError after updating

2009-01-05 Thread Alistair Marshall
I appear to be having the same trouble as explained in a previous thread [1] (and for some reason cant find the button to reply to the last thread ???) The other thread points to a bug that was fixed before django 1.0 (which is what I am running) I am not (intentionally) doing anything funny wit