mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 18:38:13 +08:00
Fix to make tests work with redis-py > 5 (#282)
This commit is contained in:
@@ -116,7 +116,7 @@ CACHES = {
|
|||||||
"LOCATION": f"redis://{REDIS_HOST}:6379/0",
|
"LOCATION": f"redis://{REDIS_HOST}:6379/0",
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||||
"PARSER_CLASS": "redis.connection.HiredisParser",
|
"PARSER_CLASS": "redis.connection.DefaultParser",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user