Skip to main content

A db backend for Django using the gevent psycopg2-pool

Project description

# django-psycopg2-pool
--------------------

## Features
-----------

* Basic postgres connection pool for Django using gevent
** assumes you monkeypatch somewhere when using this backend

## Installing the app
----------------------
clone via git and python setup.py install

OR

easy_install django-psycopg2-pool

## Setting up the app
----------------------

Assuming you have Django installed and this app installed,

1. add 'django-psycopg2-pool.gevent' as your db backend
2. this may be required if you have south: in settings.py, have a line like:

SOUTH_DATABASE_ADAPTERS = {
'default': "south.db.postgresql_psycopg2",
}


## NOTES
---------
This package includes a modified version of the gevent example psycopg2_pool
Thank you to the author(s) of gevent and psyocopg2_pool

# CONTRIBUTE
-----------
* feel free to contribute!
* maybe this can be done in eventlet as well? I welcome pull requests

Project details


Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page