Hi,

could you be more explanatory in your question ?

How do you set your field value ? via a models.DateTimeField ?

About the example that you 've given : is it the solution or what's
giving the error ?

I've tried your example and it works fine.

Try to look for answers in django.db.fields.__init__ in DateTimeField class

Frédéric

2009/7/25 Asinox <asi...@gmail.com>:
>
> Hi, guy, i have a problem trying to save "datetime" in mysql.
>
> the problem is that mysql dont need milliseconds in the datatime
> field...
>
> how ill send datatime in format "2009-12-12  1:25:30" without that
> python and Django say: Enter a valid date/time in YYYY-MM-DD HH:MM[:ss
> [.uuuuuu]] format  ??
>
> Thanks
> >
>



-- 
http://www.openidfrance.fr/fhebert

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to