code: def value_to_python(self, value):
          
          if not isinstance(value, bytes):
              raise tldap.exceptions.ValidationError("should be a bytes")
          value = value.decode("utf_8")
          return value
docs: Converts the input single value into the expected Python data type,
          raising django.core.exceptions.ValidationError if the data can't be
          converted.  Returns the converted value. Subclasses should override
          this.