Database configuration

Provides herokuify.db.get_db_config() function that reads PostgreSQL database settings from Heroku environment.

Note

This functionality relies on django-heroku-postgresify.

Django config

Use this to configure database settings in your Django project:

import herokuify
DATABASES = herokuify.get_db_config()

Table Of Contents

Previous topic

Common settings

Next topic

Cache

Python Development

Django web development for startups and businesses.

Quality Python development and scientific applications.

Quick links

Edit this document

The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.