Skip to main content

django-jedminson

Opinionated JSON Schema form field for Django admin, powered by Jedison.

For configuration that lives in a JSONField, Jedminson gives you an admin form with familiar controls and collapsible fieldsets. Define the data with JSON Schema, choose a layout if you need one, and let Python validate what gets submitted.

An integration configuration rendered by Jedminson in Django admin

Installation

Requires Python 3.10+ and Django 5.2+.

python -m pip install django-jedminson

Add jedminson to INSTALLED_APPS alongside your Django admin apps. Serve its static files through your usual setup, including collectstatic for deployment. JavaScript and CSS are included in the release archives; no frontend build is needed to use the package.

Quick start

Here's a configuration with a URL and an enabled flag. Start with a normal model JSONField in your app's models.py:

from django.db import models


class Integration(models.Model):
    name = models.CharField(max_length=100)
    config = models.JSONField(default=dict, blank=True)

    def __str__(self):
        return self.name

Give it a schema in forms.py:

from jedminson.forms import JSONSchemaField, JedminsonModelForm

from .models import Integration


class IntegrationForm(JedminsonModelForm):
    config = JSONSchemaField(schema={
        'type': 'object',
        'properties': {
            'url': {'type': 'string', 'title': 'URL', 'minLength': 1},
            'enabled': {'type': 'boolean', 'title': 'Enabled', 'default': True},
        },
        'required': ['url'],
    })

    class Meta:
        model = Integration
        fields = ['name', 'config']

Then register the form in admin.py:

from django.contrib import admin

from .forms import IntegrationForm
from .models import Integration


@admin.register(Integration)
class IntegrationAdmin(admin.ModelAdmin):
    form = IntegrationForm

Use JedminsonModelForm so the widget receives bound values and validation errors. Keep blank=True on the model field so empty JSON containers reach schema validation. Your schema decides whether they're valid; model constraints still apply.

Controlling the layout

display is optional. Leave it out and fields follow the schema's property order. To group the two fields above, add this argument to JSONSchemaField:

display=[{
    'type': 'fieldset',
    'title': 'Connection',
    'collapsible': 'open',
    'fields': [{'path': '/url'}, {'path': '/enabled'}],
}]

The schema describes the data and its validation. display controls where the fields go, without changing that schema.

Current scope

Version 0.1.1 is Beta and supports stock Django admin. It handles scalar fields, objects, nested arrays and conditional fields.

Not every valid JSON Schema can be rendered. Avoid unusual property names for now: Jedison has known path and HTML-ID collisions with names such as a/b, a.b and empty strings, which can affect editing, error placement and focus.

Metadata

Release files for django-jedminson 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-jedminson 0.1.1
File Size Uploaded Provenance
django_jedminson-0.1.1.tar.gz 91.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-jedminson 0.1.1
File Interpreter ABI Platform
django_jedminson-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 153.1 kB

Release files / django_jedminson-0.1.1.tar.gz

Download URL django_jedminson-0.1.1.tar.gz
Size 91.0 kB
Tags Source
SHA-256 checksum
How to use checksums
225419770581a6019e6c969de6033062ed1c34971221c4dd578cf14639e7c111
BLAKE2b-256 checksum
How to use checksums
cddf93f1e887266e155849e4b7a4c117e864acf1b0b1640d79cd794ba412a317
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / django_jedminson-0.1.1-py3-none-any.whl

Download URL django_jedminson-0.1.1-py3-none-any.whl
Size 62.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e8731ee220898329e1b8470226e41a1245cce8937593b71896e9218893f2522
BLAKE2b-256 checksum
How to use checksums
7386759db0916b5066dd2d56d45ca6804f4fc6f9145bcf3f3ff68d9a9de6c654
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for django-jedminson 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_jedminson-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page