Scott, that was the hint I needed. I had a default value of
datetime.date.today instead of datetime.datetime.now. Strangely
enough, the problem only manifested itself from within the admin
interface, the ModelForms worked fine.
Thanks,
Greg
On Aug 28, 11:40 am, "Scott Moonen" <[EMAIL PROTECTED]>
Greg, it looks to me like you are storing a date value into a datetime
field. Consider the error:
File "/home/clemsoncrew/site-packages/django/forms/widgets.py", line 662,
> in decompress
> return [value.date(), value.time().replace(microsecond=0)]
>
> AttributeError: 'datetime.date' object ha
Thanks for the tip. I replaced all of my from datetime import datetime
istances, but it looks like this is still happening. The problem only
manifested itself when I updated to the latest trunk. I was previously
running a few revisions earlier than the signals refactoring. If you
have any other id
On Aug 28, 3:01 pm, Greg Taylor <[EMAIL PROTECTED]> wrote:
> I'm getting the following error on some of my models with
> DateTimeFields. Any ideas?
>
> Traceback (most recent call last):
>
... snip. ...
>
> File "/home/clemsoncrew/site-packages/django/forms/widgets.py", line
> 662, in decompress
4 matches
Mail list logo