Re: ModelForms and ForeignKeys causing ValueError

2010-06-16 Thread Peter Bengtsson
Submitted here: http://code.djangoproject.com/ticket/13776 On Jun 14, 2:05 pm, Karen Tracey wrote: > On Mon, Jun 14, 2010 at 12:39 PM, Peter Bengtsson wrote: > > I'm happy to submit a ticket but wanted to check first that I'm doing > > the right thing. I think this used to work in Django 1.1 but

Re: ModelForms and ForeignKeys causing ValueError

2010-06-14 Thread Karen Tracey
On Mon, Jun 14, 2010 at 12:39 PM, Peter Bengtsson wrote: > I'm happy to submit a ticket but wanted to check first that I'm doing > the right thing. I think this used to work in Django 1.1 but not now > in trunk. > > I can better explain it with code: > > [snip details] > The point of this is that

ModelForms and ForeignKeys causing ValueError

2010-06-14 Thread Peter Bengtsson
I'm happy to submit a ticket but wanted to check first that I'm doing the right thing. I think this used to work in Django 1.1 but not now in trunk. I can better explain it with code: # models.py class FooBarModel(models.Model): name = models.CharField(max_length=10) age = models.IntegerF