Package Info

python-dj-database-url


Utility to use database URLs in Django applications


Development/Languages/Python

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

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.


License: BSD-3-Clause
URL: https://github.com/kennethreitz/dj-database-url

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.4.2-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-dj-database-url
  • python3-dj-database-url
0.4.2-bp151.2.11 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-dj-database-url
  • python3-dj-database-url
0.4.2-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-dj-database-url
  • python3-dj-database-url
0.5.0-bp152.1.8 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-dj-database-url
  • python3-dj-database-url
0.5.0-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-dj-database-url
  • python3-dj-database-url