DateTimeField - Value Error - 'Year is out of Range'

2006-10-30 Thread Merric Mercer
I'm am having a problem with the DateTimeField when I save the data through the related class. Example class Transaction: user = ForeignKey(UserProfile,edit_inline=models.TABULAR,num_extra_on_change=0) DateTimeField(auto_now_add=True, blank=True) When I add data to Transaction, through the Ad

Re: DateTimeField - Value Error - 'Year is out of Range'

2006-10-30 Thread Aidas Bendoraitis
I have recently had the same problem, but I solved it adding null=True to the DateTimeField. Good luck! Aidas Bendoraitis aka Archatas On 10/30/06, Merric Mercer <[EMAIL PROTECTED]> wrote: > > I'm am having a problem with the DateTimeField when I save the data > through the related class. > >

Re: DateTimeField - Value Error - 'Year is out of Range'

2006-10-30 Thread MerMer
Cheers Aidas, that's wokred for me too. MerMer --~--~-~--~~~---~--~~ 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