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.

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

Uploaded Source

Built Distribution

pginit-0.6-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pginit-0.6.tar.gz.

File metadata

  • Download URL: pginit-0.6.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for pginit-0.6.tar.gz
Algorithm Hash digest
SHA256 060b3194d9c830818c28b36c744c3c1da7a93d1b967c011b52c2e822e2fd45da
MD5 84ca6f8652cbd632c19f4fc0c13e1c87
BLAKE2b-256 453d7069ea79737849799b83bda2b0f0cedc6b00fbe67cf23e7c5cc59fb2a25a

See more details on using hashes here.

File details

Details for the file pginit-0.6-py3-none-any.whl.

File metadata

  • Download URL: pginit-0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for pginit-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0b41c207e0ce80757711aaf7ace61dd38980c25a59821c1760dbfca1ad286b37
MD5 db7265565edc4fe957d29fdcf8210979
BLAKE2b-256 a0300a30b19f1c2700ddd8b8c6eba12161a723c1d66dff5a352a638534bc1a43

See more details on using hashes here.

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