1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-django-redis
7 SDESC[py310]= Redis cache backend for Django (3.10)
8 SDESC[v11]= Redis cache backend for Django (3.11)
9 HOMEPAGE= https://github.com/jazzband/django-redis
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/6f/eb/4906ebd94805665d41ec067bec6520b7e47b95a648ea7d919c0e9e294e42
14 DISTFILE[1]= django_redis-5.3.0-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
24 DISTNAME= django_redis-5.3.0.dist-info
28 [PY310].RUN_DEPENDS_ON= python-Django:single:py310
29 python-redis:single:py310
30 [PY310].USES_ON= python:py310,wheel
32 [PY311].RUN_DEPENDS_ON= python-Django:single:v11
33 python-redis:single:v11
34 [PY311].USES_ON= python:v11,wheel
36 [FILE:2407:descriptions/desc.single]
37 ==============================
38 Redis cache backend for Django
39 ==============================
47 This is a [Jazzband] project. By contributing you agree
48 to abide by the [Contributor Code of Conduct
49 ] and follow the [guidelines
55 django-redis is a BSD licensed, full featured Redis cache and session
62 - Uses native redis-py url notation connection strings
65 - Pluggable serializers
66 - Primary/secondary support in the default client
67 - Comprehensive test suite
68 - Used in production in several projects as cache and session storage
69 - Supports infinite timeouts
70 - Facilities for raw access to Redis client/connection pool
71 - Highly configurable (can emulate memcached exception behavior, for
73 - Unix sockets supported by default
81 - `Redis server`_ 2.8+
83 .. _Python: https://www.python.org/downloads/
84 .. _Django: https://www.djangoproject.com/download/
85 .. _redis-py: https://pypi.org/project/redis/
86 .. _Redis server: https://redis.io/download
96 .. code-block:: console
98 $ python -m pip install django-redis
100 Configure as cache backend
101 ~~~~~~~~~~~~~~~~~~~~~~~~~~
103 To start using django-redis, you should change your Django cache settings
107 .. code-block:: python
111 "BACKEND": "django_redis.cache.RedisCache",
112 "LOCATION": "redis://127.0.0.1:6379/1",
114 "CLIENT_CLASS": "django_redis.client.DefaultClient",
119 django-redis uses the redis-py native URL notation for connection strings,
121 allows better interoperability and has a connection string in more
125 - ``redis://[[username]:[password]]@localhost:6379/0``
126 - ``rediss://[[username]:[password]]@localhost:6379/0``
127 - ``unix://[[username]:[password]]@/path/to/socket.sock?db=0``
129 Three URL schemes are supported:
131 - ``redis://``: creates a normal TCP socket connection
132 - ``rediss://``: creates a SSL wrapped TCP socket connection
133 - ``unix://`` creates a Unix Domain Socket connection
135 There are several ways to specify a database number:
140 2d8660d39f586c41c9907d5395693c477434141690fd7eca9d32376af00b0aac 30949 django_redis-5.3.0-py3-none-any.whl