Port details on branch 2022Q2 |
- py-dj-database-url Use Database URLs in your Django Application
- 2.1.0 www =0 2.1.0Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2022-02-20 10:45:15
- Last Update: 2023-08-18 12:22:56
- Commit Hash: 422d15a
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/jazzband/dj-database-url
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}dj-database-url>0:www/py-dj-database-url@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-dj-database-url/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-dj-database-url
- pkg install py39-dj-database-url
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-dj-database-url listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-dj-database-url
- Package flavors (<flavor>: <package>)
- py39: py39-dj-database-url
- distinfo:
- TIMESTAMP = 1692337113
SHA256 (dj-database-url-2.1.0.tar.gz) = f2042cefe1086e539c9da39fad5ad7f61173bf79665e69bf7e4de55fa88b135f
SIZE (dj-database-url-2.1.0.tar.gz) = 10502
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-django32>=3.2 : www/py-django32@py39
- py39-typing-extensions>=3.10.0.0 : devel/py-typing-extensions@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-django-dpaste
Configuration Options:
- No options to configure
- Options name:
- www_py-dj-database-url
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|