Django Redis Connector
Project description
Django Redis Connector
Installation
pip install django-redis-connector
Usage
from django_redis_connector import connector # Redis 设置 REDIS = { 'default': { 'HOST': '127.0.0.1', 'PORT': 6379, 'USER': '', 'PASSWORD': '', 'db': 0, } } # Redis 连接 REDIS_CACHE = connector(REDIS.get('default', {}))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-redis-connector-1.0.4.tar.gz
.
File metadata
- Download URL: django-redis-connector-1.0.4.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 388cd45895d87d50c7f5a8e99ad54f1896fb5f612d6b93aa5bd720759a05f848 |
|
MD5 | 5a9622af4863923cb5d6f5bc80d3ddbe |
|
BLAKE2b-256 | 4320f62f11f9e217d23931c1a092b499aedb306fd2293dc9d440727c9c850bb9 |
File details
Details for the file django_redis_connector-1.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: django_redis_connector-1.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24d97d91721d890164fdfe43c118ac914459ac09030701b5069d4252a9f0923 |
|
MD5 | 73cd18eb3df17004cbad131882420b99 |
|
BLAKE2b-256 | e91c2e36f22bb3974945a73cba961dfb6d11d68815207b079494e3ffdf3f77c7 |