When trying to save a model object I get an error saying,  Getting Out
of range value adjusted for column 'created_on' at row 1

This is the line, which is causing the error.
new_entry.created_on = time.mktime(entry.updated_parsed)
 If I remove this line
and add null = True to created_on field I do not get the exception.

The traceback is at,
http://dpaste.com/32727/

On Jan 27, 12:26 pm, shabda <[EMAIL PROTECTED]> wrote:
> When trying to save a model object I get an error saying,
>
> This is the line, which is causing the error. If I remove this line
> and add null + True to created_on firld I do not get the exception.
>
> The traceback is at,http://dpaste.com/32727/
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to