Floatformat no longer allows strings as precision since r17297
|Reported by:||apollo13||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
Title says it all, according to https://docs.djangoproject.com/en/dev/ref/templates/builtins/#std:templatefilter-floatformat strings as precision are supposed to get converted to an int.
Attached patch contains fix and tests…