Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
Improved dj_database_url example
  • Loading branch information
Koed00 committed May 21, 2015
1 parent ce6a10e commit 3fc4159
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.rst
Expand Up @@ -22,8 +22,7 @@ If you're using the `dj-database-url <https://crate.io/packages/dj-database-url/

import dj_database_url

DATABASES['default'] = dj_database_url.config()
DATABASES['default']['ENGINE'] = 'django_postgrespool'
DATABASES = {'default': dj_database_url.config(engine='django_postgrespool')}

If you're using `south <http://south.aeracode.org>`_:

Expand Down Expand Up @@ -70,4 +69,4 @@ Check out the official `SQLAlchemy Connection Pooling <http://docs.sqlalchemy.or
Django 1.3 Support
------------------

django-postgrespool currently supports Django 1.4 and greater. See `this ticket <https://github.com/kennethreitz/django-postgrespool/pull/9>`_ for 1.3 support.
django-postgrespool currently supports Django 1.4 and greater. See `this ticket <https://github.com/kennethreitz/django-postgrespool/pull/9>`_ for 1.3 support.

0 comments on commit 3fc4159

Please sign in to comment.