Re: Model Form crashing on Foreign Key

2010-01-10 Thread fest
I feel like I could jump out of the window... Just spent 4 hours of debugging :/ Any idea which is the last revision which is not affected by this bug? On 11 Janv., 07:02, Sontek wrote: > On Jan 10, 6:17 pm, Sontek wrote: > > > On Jan 10, 12:23 pm, Sontek wrote: > > > > So I'm trying to cre

Re: Model Form crashing on Foreign Key

2010-01-10 Thread Sontek
On Jan 10, 6:17 pm, Sontek wrote: > On Jan 10, 12:23 pm, Sontek wrote: > > > So I'm trying to create a new feed within the Admin page and its > > crashing with the error  IntegrityError: lifestream_feed.lifestream_id > > may not be NULL, the call stack is... form['lifestream'] is set but > > fo

Re: Model Form crashing on Foreign Key

2010-01-10 Thread Sontek
On Jan 10, 12:23 pm, Sontek wrote: > So I'm trying to create a new feed within the Admin page and its > crashing with the error  IntegrityError: lifestream_feed.lifestream_id > may not be NULL, the call stack is... form['lifestream'] is set but > form.instance.lifestream is not.  Here is the code

Model Form crashing on Foreign Key

2010-01-10 Thread Sontek
So I'm trying to create a new feed within the Admin page and its crashing with the error IntegrityError: lifestream_feed.lifestream_id may not be NULL, the call stack is... form['lifestream'] is set but form.instance.lifestream is not. Here is the code: class FeedCreationForm(forms.ModelForm):