Re: SQL cast for custom model lookup

2013-10-16 Thread Aryeh Leib Taurog
On Tue, Oct 15, 2013 at 10:20:08PM +0200, Aryeh Leib Taurog wrote: > I'm working with > and I'm wondering if there's a way to get django to add an explicit > cast to the SQL generated for field lookups. > > I have a model that looks like this: > >

SQL cast for custom model lookup

2013-10-15 Thread Aryeh Leib Taurog
I'm working with and I'm wondering if there's a way to get django to add an explicit cast to the SQL generated for field lookups. I have a model that looks like this: class Floats(models.Model): arr = FloatArrayField() Which translates