From: Peter Bengtsson <pete...@gmail.com>
Date: Wed, 16 Jun 2010 06:42:12 -0700 (PDT)
Local: Wed, Jun 16 2010 9:42 am
Subject: Re: ModelForms and ForeignKeys causing ValueError
Submitted here: http://code.djangoproject.com/ticket/13776
On Jun 14, 2:05 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Mon, Jun 14, 2010 at 12:39 PM, Peter Bengtsson <pete...@gmail.com> 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]
> > # tests.py
> > Instead of returning False on the is_valid() function, it raises a
> > [snip details]
> > I can understand that the field doesn't like having None set as a
> > So, bug or feature?
> Looks like a bug to me. is_valid() ought not be raising a ValueError...worst
> Karen You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||