From d491c6dad33bc11bf3b910f2656502d0762aed92 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 27 Sep 2012 19:24:27 -0400 Subject: [PATCH] python --- README.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 1c54ecd..b47aa8c 100644 --- a/README.rst +++ b/README.rst @@ -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 `_ module:: +If you're using the `dj-database-url `_ module: + +.. code:: python + import dj_database_url