From 0e445badd54fafc75dd1a5dff9fee6e6a171eafe Mon Sep 17 00:00:00 2001 From: r3a96 Date: Fri, 5 Apr 2024 19:17:48 +0330 Subject: [PATCH] Removed Redis parser_class reference from docs. --- docs/topics/cache.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 3d67f9b03a..1fe9d335fb 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -562,10 +562,8 @@ flag on the connection's socket:: } Here's an example configuration for a ``redis`` based backend that selects -database ``10`` (by default Redis ships with 16 logical databases), specifies a -`parser class`_ (``redis.connection.HiredisParser`` will be used by default if -the ``hiredis-py`` package is installed), and sets a custom `connection pool -class`_ (``redis.ConnectionPool`` is used by default):: +database ``10`` (by default Redis ships with 16 logical databases), and sets a +custom `connection pool class`_ (``redis.ConnectionPool`` is used by default):: CACHES = { "default": { @@ -573,13 +571,11 @@ class`_ (``redis.ConnectionPool`` is used by default):: "LOCATION": "redis://127.0.0.1:6379", "OPTIONS": { "db": "10", - "parser_class": "redis.connection.PythonParser", "pool_class": "redis.BlockingConnectionPool", }, } } -.. _`parser class`: https://github.com/redis/redis-py#parsers .. _`connection pool class`: https://github.com/redis/redis-py#connection-pools .. _the-per-site-cache: