diff --git a/README.rst b/README.rst index 9e403349..ccf323b1 100644 --- a/README.rst +++ b/README.rst @@ -754,6 +754,8 @@ used with django-redis. "PARSER_CLASS": "redis.connection.HiredisParser", } +Note: if using version 5 of redis-py, use ``"redis.connection._HiredisParser"`` for the ``PARSER_CLASS`` due to an internal rename of classes within that package. + Pluggable clients ~~~~~~~~~~~~~~~~~ diff --git a/changelog.d/677.doc b/changelog.d/677.doc new file mode 100644 index 00000000..a0e0d999 --- /dev/null +++ b/changelog.d/677.doc @@ -0,0 +1 @@ +Added note in docs for correctly configuring hiredis parser when using redis-py version 5.