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.12.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

django_hstore_widget-0.0.12-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_hstore_widget-0.0.12.tar.gz
  • Upload date:
  • Size: 4.1 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.12.tar.gz
Algorithm Hash digest
SHA256 95de56ea7ca22079ea0e9f8c80be514af0c0943e9be1e95e55720cc15f8468dd
MD5 deb21c19fe743ccf2ea4343cb363f48a
BLAKE2b-256 cae2a65f995b9bfd53ff1650a5e6b97e1fb61021286e8384ff969929629f79f1

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for django_hstore_widget-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 48dd7349265526b55914a3f02203fc67012dea333bc375d5b27e6d68f4ebd20c
MD5 bcf62f560d1403290ba6ba11e47326bd
BLAKE2b-256 190abee1a70d3deaa1e86566ec1b17a2653c604114e7be7e33960e8cf2fa1d8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_hstore_widget-0.0.12-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