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.3.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

django_redis_connector-1.0.3-py2.py3-none-any.whl (2.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django-redis-connector-1.0.3.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for django-redis-connector-1.0.3.tar.gz
Algorithm Hash digest
SHA256 c21ce98454800d56b6a86a535b97503ea833742ee1081a04b388ef43f5113306
MD5 440f4d12b33d4577ef6cf6a148853693
BLAKE2b-256 d376cba5fd5efc1fafaa9cad41b1a86a719f7d1ff89185fce6cebfa6bb622f5e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_redis_connector-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for django_redis_connector-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 21944044f6defd8f313011735ab60f9a075938116b73b0fa25da3267fa43a3d0
MD5 af1f542fae69e1a4586a3e9b9cb67006
BLAKE2b-256 31dc7c66edc52c4a2f46cb4bbeed7a334ff1529bdba5cfaa0da9c02441ca3c20

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