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.2.tar.gz
(2.1 kB
view details)
File details
Details for the file dj-redis-url-0.1.2.tar.gz
.
File metadata
- Download URL: dj-redis-url-0.1.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23f97588b3f1af20a3a0614ec6de4a139a712925b27e0f5067ba9fbd9e7d5dc9 |
|
MD5 | a0d6466e4ed1113252e51e73f6b07a74 |
|
BLAKE2b-256 | d05b871fd21e267a54aa3fe7135877b7c02b2469327eef1eccd6566c5c6c7a3e |