Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 542 Bytes

installation.rst

File metadata and controls

20 lines (14 loc) · 542 Bytes

Installation

Install django-pgclone with:

pip3 install django-pgclone

After this, add pgclone to the INSTALLED_APPS setting of your Django project.

django-pgclone depends on django-pgconnection. Although this dependency is automatically installed, one must add pgconnection to settings.INSTALLED_APPS and also configure the settings.DATABASES setting like so:

import pgconnection

DATABASES = pgconnection.configure({
    'default': # normal database config goes here...
})