mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-03-16 22:20:24 +00:00
Use Database URLs in your Django Application.
| dj_database_url.py | ||
| LICENSE | ||
| README.rst | ||
| setup.py | ||
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['default'] = dj_database_url.config()
Nice and simple.
Installation
------------
Installation is simple too::
$ pip install dj-database-url