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.
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.4.tar.gz
(2.7 kB
view hashes)
Built Distribution
pginit-0.4-py3-none-any.whl
(4.2 kB
view hashes)