Metadata-Version: 2.1
Name: django-pgcli
Version: 1.0.1
Summary: Database runtime for Django that replaces psql with pgcli.
Keywords: django pgcli postgres database
Author-Email: Ash Christopher <ash.christopher@gmail.com>
License: BSD
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Project-URL: Homepage, https://github.com/ashchristopher/django-pgcli
Requires-Python: >=3.10
Requires-Dist: Django>=2.2.13
Requires-Dist: pgcli
Requires-Dist: psycopg
Description-Content-Type: text/markdown

# django-pgcli

[![Build Status](https://travis-ci.org/ashchristopher/django-pgcli.svg?branch=master)](https://travis-ci.org/ashchristopher/django-pgcli) [![PyPI version](https://badge.fury.io/py/django-pgcli.svg)](https://badge.fury.io/py/django-pgcli) ![PyPI - License](https://img.shields.io/pypi/l/django-mycli)

Replaces your existing *psql* cli for Postgres with *pgcli* which provides enhancements such as auto-completion and syntax highlighting. Visit the [pgcli website](https://www.pgcli.com/) to learn more about the **pgcli** client.

## Installation

To install the package:

    `pip install django-pgcli`

Add `django_pgcli` to your `INSTALLED_APPS` setting in your settings.py file.

    INSTALLED_APPS = [
        ...,
        'django_pgcli',
        
    ]

## Usage

To use the `pgcli` command with your project, call the `dbshell` command.

    ./manage.py dbshell
