trouble with models.TimeField and MySQL TIME type

50 views
Skip to first unread message

smcoll

unread,
Feb 28, 2012, 10:50:03 AM2/28/12
to Django Nashville
i'm stumped about some Django ORM behavior regarding MySQL TIME
types. Basically, i created a model to reflect an existing database,
and the models.TimeField values are returning string representations
(formatted as "HH:MM:SS") rather than datetime.time objects. More
details at the django-users group, where i've had no bites so far.

http://groups.google.com/group/django-users/browse_thread/thread/48369fc71e4b2fc9

It may be a bug in Django's MySQL backend, but i don't even know how
to reproduce it to report it. Anyone have an idea?

Matt George

unread,
Feb 28, 2012, 11:06:32 AM2/28/12
to django-n...@googlegroups.com
what version of django are you using?

-- 
Matt George
mge...@gmail.com

--
You received this message because you are subscribed to the Google Groups "Django Nashville" group.
To post to this group, send email to django-n...@googlegroups.com.
To unsubscribe from this group, send email to django-nashvil...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-nashville?hl=en.

Shannon Collins

unread,
Feb 28, 2012, 11:17:07 AM2/28/12
to django-n...@googlegroups.com
Latest 1.3.X.  i was using 1.3.1 but ran into ticket #16353
Reply all
Reply to author
Forward
0 new messages