This commit is contained in:
Kenneth Reitz
2012-09-27 19:24:27 -04:00
parent 2a87540797
commit d491c6dad3
+7 -2
View File
@@ -9,14 +9,19 @@ It's powered by the lovely and beautiful SQLAlchemy.
Usage
-----
Using Django-PostgresPool is simple, just set ``django_postgrespool`` as your connection engine::
Using Django-PostgresPool is simple, just set ``django_postgrespool`` as your connection engine:
.. code:: python
DATABASES = {
'default': {
'ENGINE': 'django_postgrespool'
...
If you're using the `dj-database-url <https://crate.io/packages/dj-database-url/>`_ module::
If you're using the `dj-database-url <https://crate.io/packages/dj-database-url/>`_ module:
.. code:: python
import dj_database_url