Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

python-dj-database-url 0.5.0 Use Database URLs in your Django Application

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.