From a4e081f08ab7790c36b344327e230a5295d58144 Mon Sep 17 00:00:00 2001 From: Chris McDonald Date: Thu, 13 Sep 2012 03:33:03 -0700 Subject: [PATCH] Added docs for default argument to config Perhaps could be formatted/organized better but this gets it in the docs. --- README.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index ab9c21b..760b502 100644 --- a/README.rst +++ b/README.rst @@ -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::