django-willing-zg
A Django app to hold common utilities for Zygoat-managed applications
What it does
willing_zg provides a means to define frontend configuration in the django settings and an API endpoint to make that configuration accessible.
Usage
-
Add "willing_zg" to
INSTALLED_APPSin the django settings -
Define
ZYGOAT_FRONTEND_META_CONFIGin the django settingsZYGOAT_FRONTEND_META_CONFIG = { "example_frontend_config": "example_value" }
-
Include the willing_zg URLconf in your project's urls.py:
path('api/zygoat/', include('willing_zg.urls')),
-
Import willing-zg settings into the django settings
from willing_zg.settings import * # noqa
Running locally for development
-
checkout the directory into the
backenddirectory of the app you're developing in -
modify your Dockerfile.local and add
ADD /django-willing-zg /django-willing-zgaboveWORKDIR /codeand addRUN poetry add --editable /django-willing-zgafter poetry install
Metadata
Release files for django-willing-zg 0.9.0
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_willing_zg-0.9.0.tar.gz | 4.8 kB | Without provenance | Details for django_willing_zg-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_willing_zg-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for django_willing_zg-0.9.0-py3-none-any.whl |
Total release size: 12.0 kB
Release files / django_willing_zg-0.9.0.tar.gz
| Download URL | django_willing_zg-0.9.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
200f19aa302bc52c2122661983c48dd8b5986a4899b9b59ac60ccc8488ce2b0d
|
|
BLAKE2b-256 checksum How to use checksums |
8cf38a3ca051da6609f787ca9123bb99cd3544ac4609dc1d71bb3e954bd31813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1025-azure
|
Release files / django_willing_zg-0.9.0-py3-none-any.whl
| Download URL | django_willing_zg-0.9.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f330d1b0acfbddbf05870137a17c1eb8df8138baa4b806c146ebe1b0195eba70
|
|
BLAKE2b-256 checksum How to use checksums |
281f879ea9fa52830330b8ae01debaabaf3490dbfc665435116ed4556b22a380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1025-azure
|
Security for django-willing-zg 0.9.0
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.