Override the render() method to replace value with our current values

        This approach is based on the approach that Django's PasswordInput
        widget uses to ensure that passwords are not re-rendered in forms,
        except instead of prohibiting initial values we set them to those for
        our generated captcha.

def render(self, name, value, attrs=None):
        """Override the render() method to replace value with our current values

        This approach is based on the approach that Django's PasswordInput
        widget uses to ensure that passwords are not re-rendered in forms,
        except instead of prohibiting initial values we set them to those for
        our generated captcha.
        """
        value = self._values
        return super().render(name, value, attrs)