From b8cfd2e8973df4ec70f408c93fc18b6e5976ab2d Mon Sep 17 00:00:00 2001 From: kunal kumar kushwaha Date: Wed, 8 Jan 2025 16:11:06 +0530 Subject: [PATCH] Update production.py for redis issue (#477) --- {{cookiecutter.github_repository}}/settings/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.github_repository}}/settings/production.py b/{{cookiecutter.github_repository}}/settings/production.py index 8b3ea868..be604044 100644 --- a/{{cookiecutter.github_repository}}/settings/production.py +++ b/{{cookiecutter.github_repository}}/settings/production.py @@ -145,7 +145,7 @@ "LOCATION": env("REDIS_URL", default="redis://localhost:6379/0"), "OPTIONS": { "CLIENT_CLASS": "django_redis.client.DefaultClient", - "PARSER_CLASS": "redis.connection.HiredisParser", + "PARSER_CLASS": "redis.connection._HiredisParser", "CONNECTION_POOL_CLASS": "redis.BlockingConnectionPool", "CONNECTION_POOL_CLASS_KWARGS": { {%- if cookiecutter.add_heroku.lower() == "y" %}