summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2012-07-15 14:41:05 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2012-08-12 21:52:52 +0300
commit59a655988ee95e4b4e4646cebea88b620d8fcdd2 (patch)
tree0226231d1c22d01a4059892e4a20c60cb68c0cb9 /docs/ref/models
parent5513480fe1e616c236a7629072b4317e334b9b4b (diff)
Fixed #13844 -- Avoid converting unknown db values to float
This patch removes an unconditional float(value) conversion from db backend default convert_values() method. This can cause problems when aggregating over character fields for example. In addition, Oracle and SQLite already return the bare value from their convert_values(). In the long term the converting should be done by fields, and the fields should then call database backend specific converters when needed. The current setup is inflexible for 3rd party fields. Thanks to Merlijn van Deen for the original patch.
Diffstat (limited to 'docs/ref/models')
0 files changed, 0 insertions, 0 deletions