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.
This commit is contained in:
Marc Tamlyn 2012-05-28 16:28:19 +02:00
parent 9ab34db82a
commit 3a2232f3a6

View file

@ -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
-------------------