id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 484 FloatField with decimal_places but not max_digits causes mysql error. mmarshall Adrian Holovaty "A FloatField that uses {{{decimal_places}}} without {{{max_digits}}} results in using {{{numeric(None, 2)}}}. This causes an error in mysql (at least.) I can see two ways to fix this: * Update the docs with this info and/or throw a helpful error message. * Set the max_digits to the maximum possible. (255-decimal_places, on mysql at least.) Note that the same thing also happens when you have {{{max_digits}}} without {{{decimal_places}}}. MWM" defect closed Database layer (models, ORM) major fixed Unreviewed 0 0 0 0 0 0