Skip to main content

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

  1. Add "willing_zg" to INSTALLED_APPS in the django settings

  2. Define ZYGOAT_FRONTEND_META_CONFIG in the django settings

    ZYGOAT_FRONTEND_META_CONFIG = { "example_frontend_config": "example_value" }

  3. Include the willing_zg URLconf in your project's urls.py:

    path('api/zygoat/', include('willing_zg.urls')),

  4. Import willing-zg settings into the django settings

    from willing_zg.settings import * # noqa

Running locally for development

  1. checkout the directory into the backend directory of the app you're developing in

  2. modify your Dockerfile.local and add ADD /django-willing-zg /django-willing-zg above WORKDIR /code and add RUN poetry add --editable /django-willing-zg after poetry install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_willing_zg-0.9.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

django_willing_zg-0.9.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for django_willing_zg-0.9.0.tar.gz
Algorithm Hash digest
SHA256 200f19aa302bc52c2122661983c48dd8b5986a4899b9b59ac60ccc8488ce2b0d
MD5 21fea952c2d2c445d75aa9b8e2a99cb7
BLAKE2b-256 8cf38a3ca051da6609f787ca9123bb99cd3544ac4609dc1d71bb3e954bd31813

See more details on using hashes here.

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

Hashes for django_willing_zg-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f330d1b0acfbddbf05870137a17c1eb8df8138baa4b806c146ebe1b0195eba70
MD5 02e4981abac61bad2823a7b4d66d3b53
BLAKE2b-256 281f879ea9fa52830330b8ae01debaabaf3490dbfc665435116ed4556b22a380

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page