Re: annotate() type coercion

2009-08-26 Thread Georg Göttlich
Hello Karen, thanx a lot for the information and sorry for being so unspecific. Sounds like my problem. I'm using python 2.5 and sqlite3 (in my dev environment). So I'll try to upgrade sqlite. Cheers, Georg On 26 Aug., 14:05, Karen Tracey wrote: > 2009/8/26 Georg Göttlich

Re: annotate() type coercion

2009-08-26 Thread Karen Tracey
2009/8/26 Georg Göttlich > > Hello everybody, > > I'm not sure if this is a bug in django or if it works as designed. > That's why I'm asking here first, before filing a bug. > > When using annote() on a model, it's date values become unicode > values. > > Is this normal behavior

annotate() type coercion

2009-08-26 Thread Georg Göttlich
Hello everybody, I'm not sure if this is a bug in django or if it works as designed. That's why I'm asking here first, before filing a bug. When using annote() on a model, it's date values become unicode values. Is this normal behavior and if so, is there a way to prevent this? Cheers, Georg