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
django-redis/django_redis/serializers/msgpack.py
Line 13 in ad9cc78
New msgpack from version 1.0.0 has strict_map_key=True, so exception for int casting for value is thrown when using Django Redis cache here https://github.com/jazzband/django-redis/blob/master/django_redis/client/default.py#L482
Fast fix for me was to change from return msgpack.loads(value, raw=False) to return msgpack.loads(value, raw=False, strict_map_key=False)
return msgpack.loads(value, raw=False)
return msgpack.loads(value, raw=False, strict_map_key=False)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
django-redis/django_redis/serializers/msgpack.py
Line 13 in ad9cc78
New msgpack from version 1.0.0 has strict_map_key=True, so exception for int casting for value is thrown
when using Django Redis cache here
https://github.com/jazzband/django-redis/blob/master/django_redis/client/default.py#L482
Fast fix for me was to change from
return msgpack.loads(value, raw=False)
to
return msgpack.loads(value, raw=False, strict_map_key=False)
The text was updated successfully, but these errors were encountered: