Port details |
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.1.0 18 Aug 2023 12:22:56 |
Kai Knoblich (kai) |
www/py-dj-database-url: Update to 2.1.0
Changelog:
https://github.com/jazzband/dj-database-url/releases/tag/v2.1.0 |
2.0.0 09 May 2023 10:20:52 |
Alexey Dokuchaev (danfe) |
ASCII'ze port descriptions which were (ab)using UTF-8 punctuation
While here, run these files through a spell-checker and wrap some
overly long lines and/or dangling prepositions (when appropriate). |
2.0.0 29 Apr 2023 18:30:22 |
Kai Knoblich (kai) |
www/py-dj-database-url: Update to 2.0.0
Changelog:
https://github.com/jazzband/dj-database-url/releases/tag/v2.0.0 |
1.3.0 16 Apr 2023 11:26:47 |
Kai Knoblich (kai) |
www/py-dj-database-url: Update to 1.3.0
Changelog:
https://github.com/jazzband/dj-database-url/releases/tag/v1.3.0 |
1.2.0 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.2.0 20 Dec 2022 09:16:45 |
Kai Knoblich (kai) |
www/py-dj-database-url: Update to 1.2.0
Changelog since 1.0.0:
https://github.com/jazzband/dj-database-url/compare/v1.0.0...v1.2.0 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.0.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.0.0 09 Aug 2022 10:56:06 |
Kai Knoblich (kai) |
www/py-dj-database-url: Update to 1.0.0
* Upstream repository got a new maintainer thus update the WWW field
accordingly.
Changelog:
https://github.com/jazzband/dj-database-url/releases/tag/v1.0.0 |
0.5.0 20 Feb 2022 10:42:42 |
Kai Knoblich (kai) |
www/py-dj-database-url: Add new port
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.
WWW: https://github.com/kennethreitz/dj-database-url |