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_APPS
in the django settings -
Define
ZYGOAT_FRONTEND_META_CONFIG
in 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
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
Hashes for django_willing_zg-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 375e492d629311edf901cbc379cf8499cc6e4704219c2fdd2644a65f8ef34e47 |
|
MD5 | 0c8dfbb03cff873867a50048e3ad0b9b |
|
BLAKE2b-256 | f4d4bf219b7632e7f8e2f6a527ce21af74d342c54c37e09d0b4c8c1c3680a1f3 |