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
Running locally for development
-
checkout the directory into the
backend
directory of the app you're developing in -
modify your Dockerfile.local and add
ADD /django-willing-zg /django-willing-zg
aboveWORKDIR /code
and addRUN poetry add --editable /django-willing-zg
after 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
Hashes for django_willing_zg-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2875bc1a58841c2fa4d23647431a7b3ad078300b808993a6d9aa127a8e5c1fb4 |
|
MD5 | fd6da7dbfdf8003ef3f966bb7cf6e202 |
|
BLAKE2b-256 | f6bbd2beec11df14cd3d7a4c95556f38ed00418006fea8289853a139f0733a18 |