Hi Tom,

On Wed, 2006-06-28 at 03:09 -0700, tomass wrote:
> Hi Folks,
> 
> I've just tried to add a time field to one of my models, and then I
> ran:
> 
> ALTER TABLE blah ADD COLUMN blah_blah TIME;
> UPDATE blah SET blah_blah='09:00:00'
> 
> I restarted apache, and I can see my current entries are showing 9am
> correctly in the new "blah_blah" field, but when I try to add a new
> entry into the "blah" table I get the following error:
> 
> AttributeError at /admin/runsheets/item/add/
> 'str' object has no attribute 'strftime'
[...]
> Any ideas what's happening here?

Take your pick of ticket #1754, #2211, and #2192 (they are all the same
problem). I'm going to look at this tonight (which is now, my time) and
check in a fix. Too many people are tripping over it to delay much
longer.

Regards,
Malcolm



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

Reply via email to