Human friendly HStoreWidget. Continual of django-admin-hstore-widget.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_hstore_widget-0.0.13.tar.gz
.
File metadata
- Download URL: django_hstore_widget-0.0.13.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be43488be2bfb05f2a0198652138154b82960e714ee0c066e945f41473fa8bbf |
|
MD5 | a21a03daf03b33b895287c0524aacdeb |
|
BLAKE2b-256 | 068b8b919cc7c4602b1e05398c8a5942e4f80663e32908bd71105cab289a2a30 |
Provenance
The following attestation bundles were made for django_hstore_widget-0.0.13.tar.gz
:
Publisher:
CI.yml
on baseplate-admin/django-hstore-widget
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
django_hstore_widget-0.0.13.tar.gz
- Subject digest:
be43488be2bfb05f2a0198652138154b82960e714ee0c066e945f41473fa8bbf
- Sigstore transparency entry: 147786825
- Sigstore integration time:
- Predicate type:
File details
Details for the file django_hstore_widget-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: django_hstore_widget-0.0.13-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71758d688b44c314422b406a4233e9c1c631e324e0471e2f20898367f3361a9 |
|
MD5 | 21652a922c0ca51afd663547f1a85867 |
|
BLAKE2b-256 | c6cf3406c5a93914735b9d8c3a8cf4c979a801609d012484c37401923ef65cdf |
Provenance
The following attestation bundles were made for django_hstore_widget-0.0.13-py3-none-any.whl
:
Publisher:
CI.yml
on baseplate-admin/django-hstore-widget
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
django_hstore_widget-0.0.13-py3-none-any.whl
- Subject digest:
f71758d688b44c314422b406a4233e9c1c631e324e0471e2f20898367f3361a9
- Sigstore transparency entry: 147786826
- Sigstore integration time:
- Predicate type: