Added docs for default argument to config

Perhaps could be formatted/organized better but this gets it in the docs.
This commit is contained in:
Chris McDonald 2012-09-13 03:33:03 -07:00
parent 0400f59e6d
commit a4e081f08a

View file

@ -11,9 +11,10 @@ This simple Django utility allows you to utilize the
Usage
-----
Configure your database in ``settings.py`` from ``DATABASE_URL``::
Configure your database in ``settings.py`` from ``DATABASE_URL``
(``default`` is optional)::
DATABASES = {'default': dj_database_url.config()}
DATABASES = {'default': dj_database_url.config(default='postgres://...')}
Parse an arbitrary Database URL::