Fix to make tests work with redis-py > 5 (#282)

This commit is contained in:
Salvo 'LtWorf' Tomaselli
2025-07-04 02:13:46 +02:00
committed by GitHub
parent 65d2548e98
commit 09e65da5b3

View File

@@ -116,7 +116,7 @@ CACHES = {
"LOCATION": f"redis://{REDIS_HOST}:6379/0",
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
"PARSER_CLASS": "redis.connection.HiredisParser",
"PARSER_CLASS": "redis.connection.DefaultParser",
},
}
}