mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-03-16 22:20:24 +00:00
24 lines
No EOL
442 B
ReStructuredText
24 lines
No EOL
442 B
ReStructuredText
DJ-Database-URL
|
|
~~~~~~~~~~~~~~
|
|
|
|
This simple Django utility allows you to utilize the
|
|
`12factor <http://www.12factor.net/backing-services>`_ inspired
|
|
``DATABASE_URL`` environment variable to configure your Django application.
|
|
|
|
|
|
Usage
|
|
-----
|
|
|
|
Configure your database in ``settings.py``::
|
|
|
|
DATABASES = dj_database_url.config(DATABASES)
|
|
|
|
Nice and simple.
|
|
|
|
|
|
Installation
|
|
------------
|
|
|
|
Installation is simple::
|
|
|
|
$ pip install dj-database-url |