On Wed, 17 May 2006 14:12:23 -0700
"pbx" <[EMAIL PROTECTED]> wrote:

> 
> > ValueError: year is out of range
> >
> > I'm not sure why "year is out of range" is a problem - maybe
> > because the table has TIMESTAMP column types?
> 
> It's probably because you have invalid data (like 0000-00-00) in
> those columns. I encountered this on some of my legacy MySQL
> tables. In my case I made the column nullable and then did
> something like this:
> 
>   UPDATE table SET col=NULL WHERE col='0000-00-00';

You actually had the right of it - but the problem wasn't in the
registrant table, but with a column in the parent table seminar
which had one of these 0000-00-00 dates.  Fixed that and the
inspect worked great.  

Thanks for your help, you got me looking in the right direction.

Josh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to