Update README.rst

Mention that the library should be imported first before usage
This commit is contained in:
Kevin Ndung'u 2014-12-12 12:58:37 +03:00
parent 86f0e30b5b
commit 21dc45a071

View file

@ -26,6 +26,7 @@ Usage
Configure your database in ``settings.py`` from ``DATABASE_URL``
(``default`` is optional)::
import dj_database_url
DATABASES = {'default': dj_database_url.config(default='postgres://...')}
Parse an arbitrary Database URL::