Skip to main content

Use Redis URLs in your Django Application.

Project description

This simple Django utility allows you to utilize the 12factor inspired REDIS_URL environment variable to configure your Django application.

Usage

Configure your Redis database in settings.py from REDIS_URL:

REDIS = {"default": dj_redis_url.config()}

Parse an arbitrary Database URL:

REDIS = {"default": dj_redis_url.parse("redis://..."")}

Installation

Installation is simple too:

$ pip install dj-redis-url

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

dj-redis-url-0.1.4.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file dj-redis-url-0.1.4.tar.gz.

File metadata

File hashes

Hashes for dj-redis-url-0.1.4.tar.gz
Algorithm Hash digest
SHA256 eca9633d2c0a08c0d68ca50b631b25f1966842dd953f9a210bc659c06d75d6f2
MD5 c1343f6080ffa209d06ee89ab831dd57
BLAKE2b-256 3dd67c495b19cf29aa31098e688b372de110191c9a37aae9a183ac51108f1d92

See more details on using hashes here.

Provenance

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