Upgrading redis cache.

This commit is contained in:
Samuel Clay 2020-06-26 18:41:10 -04:00
parent f3e2f97fc8
commit 8bf623effd
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,7 @@ django-mailgun==0.9.1
django-oauth-toolkit==0.10.0
django-qurl==0.1.1
django-paypal==1.0
django-redis-cache==1.5.5
django-redis-cache==1.7.1
django-redis-sessions==0.6.1
django-ses==0.7.1
django-subdomains==2.1.0

View file

@ -717,7 +717,8 @@ CACHES = {
'LOCATION': '%s:6379' % REDIS['host'],
'OPTIONS': {
'DB': 6,
'PARSER_CLASS': 'redis.connection.HiredisParser'
'PARSER_CLASS': 'redis.connection.HiredisParser',
'SERIALIZER_CLASS': 'redis_cache.serializers.PickleSerializer'
},
},
}