mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-03-16 22:20:24 +00:00
readme notes
This commit is contained in:
parent
e6cf053d94
commit
08c8ffaad8
2 changed files with 5 additions and 3 deletions
|
|
@ -9,11 +9,13 @@ This simple Django utility allows you to utilize the
|
|||
Usage
|
||||
-----
|
||||
|
||||
Configure your database in ``settings.py``::
|
||||
Configure your database in ``settings.py`` from ``DATABASE_URL``::
|
||||
|
||||
DATABASES['default'] = dj_database_url.config()
|
||||
|
||||
Nice and simple.
|
||||
Parse an arbitrary Database URL::
|
||||
|
||||
DATABASES['default'] = dj_database_url.parse('postgres://...')
|
||||
|
||||
|
||||
Installation
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -23,7 +23,7 @@ from setuptools import setup
|
|||
|
||||
setup(
|
||||
name='dj-database-url',
|
||||
version='0.1.1',
|
||||
version='0.1.2',
|
||||
url='https://github.com/kennethreitz/dj-database-url',
|
||||
license='BSD',
|
||||
author='Kenneth Reitz',
|
||||
|
|
|
|||
Loading…
Reference in a new issue