format_value(value)
Cleans and returns a value for use in the widget template. value
isn’t guaranteed to be valid input, therefore subclass implementations should program defensively.
Changed in Django 1.10:
In older versions, this method is a private API named _format_value()
. The old name will work until Django 2.0.
Please login to continue.