fastports

dj-database-url 3.1.2

www/py-dj-database-url

Use Database URLs in your Django Application

Category
www
Maintainer
kai@FreeBSD.org
WWW
https://github.com/jazzband/dj-database-url
License
BSD3CLAUSE
USES
python

Description

This simple Django utility allows you to utilize the 12factor inspired
DATABASE_URL environment variable to configure your Django application.

The dj_database_url.config method returns a Django database connection
dictionary, populated with all the data specified in your URL.  There is
also a conn_max_age argument to easily enable Django's connection pool.

If you'd rather not use an environment variable, you can pass a URL in
directly instead to dj_database_url.parse.

Supported Databases:

Support currently exists for PostgreSQL, PostGIS, MySQL, MySQL (GIS),
Oracle, Oracle (GIS), and SQLite.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Loading commit history — this may take up to a minute on first view. Reload the page in a moment.