We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
in Class MongoengineAssociationMixin, secret is a StringField but you call base64.encodestring(association.secret) to store it.
base64.encodestring(association.secret)
This method expects and returns bytes so the ending .save() does not pass validation.
.save()
To fix it, there are 2 solutions:
base64.encodestring(association.secret).decode()
Have a nice day :)
Disclaimer: Even if I've read guidelines, I'm new in "issue reporting" so tell me if you need any further informations
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
in Class MongoengineAssociationMixin, secret is a StringField but you call
base64.encodestring(association.secret)
to store it.This method expects and returns bytes so the ending
.save()
does not pass validation.To fix it, there are 2 solutions:
base64.encodestring(association.secret).decode()
and store it like a stringHave a nice day :)
Disclaimer:
Even if I've read guidelines, I'm new in "issue reporting" so tell me if you need any further informations
The text was updated successfully, but these errors were encountered: