Skip to main content

Human friendly HStoreWidget. Continual of django-admin-hstore-widget.

Reason this release was yanked:

Has no JS file

Project description

django-hstore-widget

FormField that properly render HStoreField Data in django Admin based on djangoauts package and updated fork of django-admin-hstore-widget

Requirements

  • Python 3.9 and Up ( well technically any python version from 3.6 should work )
  • Django 3.2 and Up

Using pip:

pip install django-hstore-widget

Installation

# settings.py

INSTALLED_APPS = [
    ...,
    'django_hstore_widget',
    ...
]

Usage

# yourmodel/admin.py
from django.contrib import admin
from django import forms

from django_hstore_widget.forms import HStoreFormField
from models import Yourmodel

class MyModelAdminForm(forms.ModelForm):
    my_hstore_field = HStoreFormField()

    class Meta:
       model = Yourmodel

@admin.register(Yourmodel)
class YourmodelAdmin(admin.ModelAdmin):
    form = MyModelAdminForm

Result

Rendered result

Download files

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

Source Distribution

django_hstore_widget-0.0.11.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

django_hstore_widget-0.0.11-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file django_hstore_widget-0.0.11.tar.gz.

File metadata

  • Download URL: django_hstore_widget-0.0.11.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for django_hstore_widget-0.0.11.tar.gz
Algorithm Hash digest
SHA256 94abdfefefcbfa853f05facf4771c488b190226445c415088cdc0a1ac40951b0
MD5 c8fa13c354d1acb950365c51aa3292e1
BLAKE2b-256 0f8ec4e70f184878b93c1409aae576933615fa10d1fb3184ba067c4867c11f98

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_hstore_widget-0.0.11.tar.gz:

Publisher: CI.yml on baseplate-admin/django-hstore-widget

Attestations:

File details

Details for the file django_hstore_widget-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for django_hstore_widget-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 3811c9ad3755d9d3c0d6b8275526b7f7104f9d0f67142b67a642542ed8c9be14
MD5 9c727f6a21fbefd23d0a3fe1dd1810f1
BLAKE2b-256 f1163aabaf893bcc0353bcdd555bc4cdd015c245a25c46ef8e114870637787e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_hstore_widget-0.0.11-py3-none-any.whl:

Publisher: CI.yml on baseplate-admin/django-hstore-widget

Attestations:

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