Fak3 / pginit

django postgres initializer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This command-line tool reads django settings, then connects to configured postgresql server as superuser, and tries to create the database and user with password, according to the django settings.

Installation

pip install pginit

Usage

You can either set DJANGO_SETTINGS_MODULE environment variable, or specify settings module path in the first command-line argument.

pginit path.to.settings

About

django postgres initializer


Languages

Language:Python 96.4%Language:Shell 3.6%