Re: Trouble with DateField

2009-04-13 Thread Brandon Taylor
Well, I'm not sure what the matter was, maybe some bad cache or something, but the problem seems to have corrected itself. Weird! On Apr 13, 12:06 pm, Brian Neal wrote: > On Apr 13, 11:47 am, Brandon Taylor wrote: > > > > > Hi everyone, > > > I need a

Re: Trouble with DateField

2009-04-13 Thread Brandon Taylor
Hi Brian, Yes, I've also made certain that the value returned for effective date from form.cleaned_data['effective_date'] is a valid Python datetime object. Something seems to be amiss. The exception is happening in: django/db/ models/fields/__init__.py in to_python, line 473 If I put a print

Re: Trouble with DateField

2009-04-13 Thread Brian Neal
On Apr 13, 11:47 am, Brandon Taylor wrote: > Hi everyone, > > I need a sanity check here. I'm using a jQueryUI DatePicker, with the > dateFormat option set to 'yy-mm-dd', which is returning a date in - > MM-DD format, if I check my request.POST values. > > I have a

Trouble with DateField

2009-04-13 Thread Brandon Taylor
Hi everyone, I need a sanity check here. I'm using a jQueryUI DatePicker, with the dateFormat option set to 'yy-mm-dd', which is returning a date in - MM-DD format, if I check my request.POST values. I have a DateField - "effective_from", on my model, and am using a corresponding ModelForm.