Provide our own MessagePack serialiser class for django-redis, since the included one doesn't work properly with msgpack <= 0.5.4
This commit is contained in:
parent
b59962a119
commit
8d4444cfb9
2 changed files with 12 additions and 1 deletions
|
@ -157,7 +157,7 @@ CACHES = {
|
|||
'KEY_PREFIX': 'lemoncurry',
|
||||
'OPTIONS': {
|
||||
'PARSER_CLASS': 'redis.connection.HiredisParser',
|
||||
'SERIALIZER': 'django_redis.serializers.msgpack.MSGPackSerializer',
|
||||
'SERIALIZER': 'lemoncurry.msgpack.MSGPackModernSerializer',
|
||||
},
|
||||
'VERSION': 2,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue