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

Commit 38cb08a

Browse files
committed
Merge pull request #26 from Koed00/master
Update README.rst
2 parents ce6a10e + 3fc4159 commit 38cb08a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ If you're using the `dj-database-url <https://crate.io/packages/dj-database-url/
2222

2323
import dj_database_url
2424

25-
DATABASES['default'] = dj_database_url.config()
26-
DATABASES['default']['ENGINE'] = 'django_postgrespool'
25+
DATABASES = {'default': dj_database_url.config(engine='django_postgrespool')}
2726

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

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

73-
django-postgrespool currently supports Django 1.4 and greater. See `this ticket <https://github.com/kennethreitz/django-postgrespool/pull/9>`_ for 1.3 support.
72+
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 commit comments

Comments
 (0)