Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-redis-connector-1.0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

django_redis_connector-1.0.1-py2.py3-none-any.whl (3.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-redis-connector-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-redis-connector-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f3cf6b6a4d4855c3fcf292ddb43ab2ae23862d36c4e9fd31b622178c167d08d8
MD5 b1d4ccfe094ee684d55ef8df1fc0a878
BLAKE2b-256 688138a3a56cbfd459b089434cb338f88a7ea33bc733f44cea30b99a05735223

See more details on using hashes here.

File details

Details for the file django_redis_connector-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_redis_connector-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8eab9208216faf93485e9a8a991f0e9735ac4dda183b24707fc6a78a581471ef
MD5 b0657dc668f789d3a2947edc6d7f50f7
BLAKE2b-256 913c43692b717df51d48217656cc4beb9d9791ef3bf1c1114b81434b7faa52f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page