mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-05-14 10:13:10 +00:00
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:
parent
0400f59e6d
commit
a4e081f08a
1 changed files with 3 additions and 2 deletions
|
|
@ -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::
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue