mirror of
https://github.com/kennethreitz/django-postgrespool.git
synced 2026-06-05 06:46:18 +00:00
Update README.rst
Improved dj_database_url example
This commit is contained in:
+2
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user