semvec/pypi-packages huggingface dataset:
django_jsonfield_widget 0.1.0
A widget for the Django JSONFIELD, this widget usefulness is to have dynamic fields for a given model.
License: MIT

Django JsonField widgets
************************
Installation
++++++++++++
Install the package with `pip install django_jsonfield_widget`

Then add it to the `INSTALLED_APPS` in `settings.py` :

.. code-block:: python

    INSTALLED_APPS = [
        '...',

        'django_jsonfield_widget',

        '...'
    ]


JsonFieldSchemaWidget
+++++++++++++++++++++
The JsonFieldSchemaWidget is a widget that adds a fixed schema to the json. The Json is blocked in this canvas and cannot be adapted by the enduser when this widget is used. This widget was developped to create dynamic form schemas where the dynamic fields are controlled by python code

To use the JsonFieldSchemaWidget in a form do:

.. code-block:: python

    from django_jsonfield_widget.widgets import JsonFieldSchemaWidget
    from collections import OrderedDict

    class SomeForm(forms.ModelForm):
        class Meta:
            model = SomeModel
            fields = '__all__'
            widgets = {
                'json_field': JsonFieldSchemaWidget(schema=OrderedDict({
                    'height': {
                        'verbose_name': 'What is your height in cm?',
                        'type': 'IntegerField'
                    },
                    'name': {
                        'verbose_name': 'What is your name?',
                        'type': 'CharField',
                    },
                    'has_freckless': {
                        'verbose_name': 'Do you have freckless?',
                        'type': 'BooleanField',
                    }
                })),
            }


.. figure:: examples/jsonfield_schema_widget.png
    :alt: jsonfield schema widget example

    JsonFieldSchemaWidget layout for the above settings.


About
-----

developped by : `DEUSE - Développement Software <https://www.deuse.be/fr/services/developpement-logiciel/>`_
menhir 0.0.60
A build tool for monolithic repositories
License: MIT

.. image:: https://circleci.com/gh/dialoguemd/menhir.svg?style=svg&circle-token=b8e7721a127637996efff118d0b17aa7522cc96f
    :target: https://circleci.com/gh/dialoguemd/menhir

.. image:: https://codecov.io/gh/dialoguemd/menhir/branch/master/graph/badge.svg?token=Fl2ObQ8DC6
   :target: https://codecov.io/gh/dialoguemd/menhir

Menhir is a build tool for monolithic repositories.  Unlike existing
monolithic build tools, it does not aim at being prescriptive about
how (sub-)projects are built.  It prefers to use established single
project build tools at the project level.


Documentation
-------------

See `ReadTheDocs <https://dialogue-menhir.readthedocs-hosted.com/en/latest/>`_
for documentation.


Installation
------------

Install using `pip`.

    pip install menhir