Fix settign 'default_value_function' to be on the instance instead of on the field configuration.