BSD Ports

www/py-dj-database-url 2.3.0 DragonFly

Use Database URLs in your Django Application

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, www
Package size
10.4 KiB, 35.0 KiB installed

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.

In the other systems

The newest version among them is 3.1.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/py-dj-database-url2.3.0none known-[email protected]-
FreeBSDwww/py-dj-database-url3.1.2_1 newestnone known-[email protected]2026-07-29
HardenedBSDwww/py-dj-database-url3.1.2_1 newestno data-[email protected]-
GhostBSDwww/py-dj-database-url3.1.2_1 newestno data-[email protected]-

Install

Binary package:

pkg install py311-dj-database-url

From DPorts:

cd /usr/dports/www/py-dj-database-url && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.