Skip to content

Commit b8cfd2e

Browse files
authored
Update production.py for redis issue (#477)
1 parent 8dbac34 commit b8cfd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.github_repository}}/settings/production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"LOCATION": env("REDIS_URL", default="redis://localhost:6379/0"),
146146
"OPTIONS": {
147147
"CLIENT_CLASS": "django_redis.client.DefaultClient",
148-
"PARSER_CLASS": "redis.connection.HiredisParser",
148+
"PARSER_CLASS": "redis.connection._HiredisParser",
149149
"CONNECTION_POOL_CLASS": "redis.BlockingConnectionPool",
150150
"CONNECTION_POOL_CLASS_KWARGS": {
151151
{%- if cookiecutter.add_heroku.lower() == "y" %}

0 commit comments

Comments
 (0)