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.3.tar.gz
(2.5 kB
view details)
File details
Details for the file dj-redis-url-0.1.3.tar.gz
.
File metadata
- Download URL: dj-redis-url-0.1.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ec905bbb451b73136227be5bbc4cf7dad97fe6cd9193f80ed92268d9c8a9abf |
|
MD5 | c93e0d816824c196e72cae676f40458e |
|
BLAKE2b-256 | 3648de1fa685a4aef914e9fecb0268e66c842d669c863b4f9d73efa00d6c77ca |