No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_willing_zg-0.9.0.tar.gz.
File metadata
- Download URL: django_willing_zg-0.9.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
200f19aa302bc52c2122661983c48dd8b5986a4899b9b59ac60ccc8488ce2b0d
|
|
| MD5 |
21fea952c2d2c445d75aa9b8e2a99cb7
|
|
| BLAKE2b-256 |
8cf38a3ca051da6609f787ca9123bb99cd3544ac4609dc1d71bb3e954bd31813
|
File details
Details for the file django_willing_zg-0.9.0-py3-none-any.whl.
File metadata
- Download URL: django_willing_zg-0.9.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f330d1b0acfbddbf05870137a17c1eb8df8138baa4b806c146ebe1b0195eba70
|
|
| MD5 |
02e4981abac61bad2823a7b4d66d3b53
|
|
| BLAKE2b-256 |
281f879ea9fa52830330b8ae01debaabaf3490dbfc665435116ed4556b22a380
|