Merge pull request #4 from mjtamlyn/patch-1

Set the DATABASES dict rather than assigning to it.
This commit is contained in:
Kenneth Reitz 2012-05-29 16:59:52 -07:00
commit eab725fa8d

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