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". The F() expression in the math.atan function is the problem because when I've replaced the F() expression with just a number it works fine. Does anyone know how to make the F() expression work within the math.atan function?
Thank you -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/29957f2a-da6e-43c0-9bc5-b9ac4f29119a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.