Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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

Release history Release notifications

This version
History Node

0.1.1

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page