django-plugin-database-url
Django plugin that reads the DATABASE_URL environment variable
Installation
First configure your Django project to use DJP.
Then install this plugin in the same environment as your Django application.
pip install django-plugin-database-url
Usage
Once installed, any DATABASE_URL environment variable will be automatically used to configure your Django database setting, using dj-database-url.
This plugin mainly exists to demonstrate the settings() plugin hook in DJP.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd django-plugin-database-url
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
Metadata
Release files for django-plugin-database-url 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_plugin_database_url-0.1.tar.gz | 6.5 kB | Without provenance | Details for django_plugin_database_url-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_plugin_database_url-0.1-py3-none-any.whl | Python 3 | none | any | Details for django_plugin_database_url-0.1-py3-none-any.whl |
Total release size: 13.3 kB
Release files / django_plugin_database_url-0.1.tar.gz
| Download URL | django_plugin_database_url-0.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40d29edbdc2f8ff24de4166df2b68a910ecbc8d4859e11693e3d954859874f04
|
|
BLAKE2b-256 checksum How to use checksums |
b060992c1ef333582175cad2931ed837a9941642605befbaa7945497bf02706f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / django_plugin_database_url-0.1-py3-none-any.whl
| Download URL | django_plugin_database_url-0.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d54241d40b0905a5f27e626f8b23fe5404661279e730f2fd7383e77c5a2881ad
|
|
BLAKE2b-256 checksum How to use checksums |
bb95809e5d4a308618c7fd3880d95dbd87e3e386a169245273fa800735ade054
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for django-plugin-database-url 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.