BSD Ports

www/py-dj-database-url 3.1.2_1 FreeBSD

Use Database URLs in your Django Application

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
c457bc660b
License
BSD3CLAUSE
Categories
www, python
Package size
13.6 KiB, 45.4 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

SystemPortVersion
FreeBSDwww/py-dj-database-url3.1.2_1
DragonFlywww/py-dj-database-url2.3.0
HardenedBSDwww/py-dj-database-url3.1.2_1
GhostBSDwww/py-dj-database-url3.1.2_1

Install

Binary package:

pkg install py312-dj-database-url

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-dj-database-url>0:www/py-dj-database-url

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.2_13.1.2_11.2.03.0.13.1.2_1
FreeBSD:14:quarterly3.1.2_13.1.2_1n/a3.0.03.1.2_1
FreeBSD:15:latest3.1.2_13.1.2_1n/a3.0.13.0.1
FreeBSD:15:quarterly3.1.2_13.1.2_1n/an/an/a
FreeBSD:16:latest3.1.2_13.1.2_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 18

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
dj_database_url-3.1.2.tar.gz1149063c20e4bbaa51690dfd4c8d189521f6bf6bc9da9fcdb23d95d2ee8ee87f9ec62
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
c457bc660b Yuri Victorovich devel/py-uv-build: update 0.11.32 → 0.12.0