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

Uploaded Source

File details

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

File metadata

  • Download URL: dj-redis-url-0.1.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dj-redis-url-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e9bcb402a072470de94a5e47682f532354d9c153cf287330b42ef6501a02edd8
MD5 11b029e968d8603e07fe962bd6771e3f
BLAKE2b-256 33155e254c34e58dfc98aed4117e930ce4f84650d7d4ae2bcf89b5ab2f2ea667

See more details on using hashes here.

Supported by

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