django-hstore-widget
FormField that properly renders HStoreField Data in django Admin based on djangoauts package and an updated fork of django-admin-hstore-widget
Requirements
- Python 3.10 and up
- Django 5.0 and up
- Modern browsers ( Chrome 112+, Firefox 117+, Safari 16.5+ )
Using pip:
pip install django-hstore-widget
Installation
# settings.py
INSTALLED_APPS = [
...,
'django_hstore_widget',
...
]
Usage
# yourmodel/forms.py
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
# yourmodel/admin.py
from django.contrib import admin
from .models import Yourmodel
from .forms import MyModelAdminForm
@admin.register(Yourmodel)
class YourmodelAdmin(admin.ModelAdmin):
form = MyModelAdminForm
Result
Comparison
Vs JSONB
| Feature | HStoreField |
JSONField |
|---|---|---|
| Requires PostgreSQL extension | ✅ | ❌ |
| Flat key–value support | ✅ | ✅ |
| Nested structure support | ❌ | ✅ |
| Supports non-string values | ❌ | ✅ |
| Simple key-value admin UI | ✅ | ❌ |
| Easy validation | ✅ | ❌ |
| Advanced JSON queries | ❌ | ✅ |
| Powerful containment queries | ❌ | ✅ |
| Smaller storage footprint | ✅ | ❌ |
| Suitable for metadata fields | ✅ | ✅ |
| Suitable for structured documents | ❌ | ✅ |
Metadata
Release files for django-hstore-widget 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_hstore_widget-0.1.0.tar.gz | 13.7 kB | With provenance | Details for django_hstore_widget-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_hstore_widget-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for django_hstore_widget-0.1.0-py3-none-any.whl |
Total release size: 29.5 kB
Release files / django_hstore_widget-0.1.0.tar.gz
| Download URL | django_hstore_widget-0.1.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00d3b96aa2e1a08bda6b03064736a1304e7934a70cdcc668976e24ac5cd2415d
|
|
BLAKE2b-256 checksum How to use checksums |
a3807a94dadc104e639a4e8903b5ce3c79f1c5f825a162a45733cfc48b7f56ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 6, 2026.
Transparency logRelease files / django_hstore_widget-0.1.0-py3-none-any.whl
| Download URL | django_hstore_widget-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef2beb67ddbf4d04d45c828a465cd8d37ecbd6497c8f14a234052674b6bb578b
|
|
BLAKE2b-256 checksum How to use checksums |
2f187bcd9dd28e4fa9089143f45c64520564978053469349e0adc2ec91d7b598
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 6, 2026.
Transparency logSecurity for django-hstore-widget 0.1.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for django_hstore_widget-0.1.0.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 Jun 6, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.