Skip to main content

initialize postgres for django project

Project description

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.

`bash pginit path.to.settings `

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

pginit-0.5.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

pginit-0.5-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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