Update README.rst

Improved dj_database_url example
This commit is contained in:
Ilan Steemers
2015-05-21 16:00:27 +02:00
parent ce6a10e9bb
commit 3fc4159f8a
+2 -3
View File
@@ -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>`_:
@@ -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.