Port details |
- py-dj-database-url Use Database URLs in your Django Application
- 2.3.0 www
=2 2.2.0Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2022-02-20 10:45:15
- Last Update: 2024-11-03 10:13:41
- Commit Hash: 50c76ea
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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 py311-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 py311-dj-database-url listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-dj-database-url
- Package flavors (<flavor>: <package>)
- py311: py311-dj-database-url
- distinfo:
- TIMESTAMP = 1730477189
SHA256 (dj_database_url-2.3.0.tar.gz) = ae52e8e634186b57e5a45e445da5dc407a819c2ceed8a53d1fac004cc5288787
SIZE (dj_database_url-2.3.0.tar.gz) = 10980
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:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-django42>=4.2 : www/py-django42@py311
- py311-typing-extensions>=3.10.0.0 : devel/py-typing-extensions@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- www_py-dj-database-url
- USES:
- python:3.9+
- 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.3.0 03 Nov 2024 10:13:41
    |
Kai Knoblich (kai)  |
www/py-dj-database-url: Update to 2.3.0
* Support for Python 3.8 was dropped with this release, adjust
USES=python accordingly.
Changelog:
https://github.com/jazzband/dj-database-url/blob/v2.3.0/CHANGELOG.md |
2.2.0 21 Jul 2024 07:46:53
    |
Kai Knoblich (kai)  |
www/py-dj-database-url: Update to 2.2.0
* Switch to the PEP517 build framework while I'm here.
Changelog:
https://github.com/jazzband/dj-database-url/releases/tag/v2.2.0 |
2.1.0_1 27 Apr 2024 09:08:48
    |
Kai Knoblich (kai)  |
*: Switch consumers over to Django 4.2
Django 3.2 reached its End-of-Life on 1st April 2024 and Django 4.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2026.
* Switch most ports that use www/py-django32 to www/py-django42.
* Ports that are not compatible with Django 3.2 have already been set
with an expiration date were not taken into account.
* Bump PORTREVISION due dependency change where necessary.
PR: 276319
Reviewed by: dvl, grembo, ultima
Approved by: bofh (implicit), dvl, grembo, Kevin Golding, sunpoet,
ultima, maintainer timeout (remaining maintainers)
Differential Revision: https://reviews.freebsd.org/D44637 |
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 |