From 3a2232f3a6882ac69c021cc16aa5b9b766532ad7 Mon Sep 17 00:00:00 2001 From: Marc Tamlyn Date: Mon, 28 May 2012 16:28:19 +0200 Subject: [PATCH] Set the DATABASES dict rather than assigning to it. Basically just to allow more copy-pasting from the README. I know it should be obvious but it was instinct to copy verbatim. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 9b73915..96b7d2b 100644 --- a/README.rst +++ b/README.rst @@ -11,11 +11,11 @@ Usage Configure your database in ``settings.py`` from ``DATABASE_URL``:: - DATABASES['default'] = dj_database_url.config() + DATABASES = {'default': dj_database_url.config()} Parse an arbitrary Database URL:: - DATABASES['default'] = dj_database_url.parse('postgres://...') + DATABASES = {'default': dj_database_url.parse('postgres://...')} Supported databases -------------------