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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for dj-redis-url-0.1.tar.gz
Algorithm Hash digest
SHA256 a5fa8551fe91b3db65b97dfd44397dd7cd8051735817a5db4f83edea60cc8b17
MD5 ac88f847dab772029deab8638b46ee77
BLAKE2b-256 9927f6b4e4fd4d5b911adb309f2160ac9d8b3c1d9146e645a11cf063a1064b09

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