Re: F() expression in the math.atan function. "a float is required"

2017-06-17 Thread Brian Risselada
Nevermind, I figured it out. Instead of math.arctan, I used Func() with function='ATAN'. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: F() expression in the math.atan function. "a float is required"

2017-06-17 Thread Brian Risselada
On further investigation and thoughts, I think I may need to replace math.atan with some kind of django query expression function that will allow the arc-tangent to be calculated within a query expression. Does one already exist? -- You received this message because you are subscribed to the

F() expression in the math.atan function. "a float is required"

2017-06-17 Thread Brian Risselada
I am trying to run a query that uses an expression wrapper. Within this wrapper I'm calling the math.atan function, and within that function I'm calling an F() expression. The F() expression is getting data with a DecimalField datatype. I'm getting an error stating that "a float is required".