| Name | django-hstore-widget JSON |
| Version |
0.0.23
JSON |
| download |
| home_page | None |
| Summary | Human friendly HStoreWidget. Continual of django-admin-hstore-widget. |
| upload_time | 2025-08-15 16:21:56 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.9 |
| license | MIT |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# django-hstore-widget
> [!NOTE]
If you want a field based implementation, please check [django-hstore-field](https://github.com/baseplate-admin/django-hstore-field). The package builds on top of this to give an ergonomic implementation.
[](https://pepy.tech/project/django-hstore-widget) [](https://github.com/baseplate-admin/django-hstore-widget/actions/workflows/test.yml) [](https://pypi.org/project/django-hstore-widget/) [](https://results.pre-commit.ci/latest/github/baseplate-admin/django-hstore-widget/master)
FormField that properly renders HStoreField Data in django Admin based on [`djangoauts package`](https://github.com/djangonauts/django-hstore) and an updated fork of [`django-admin-hstore-widget`](https://github.com/PokaInc/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
- Modern browsers ( Chrome 112+, Firefox 117+, Safari 16.5+ )
Using pip:
```bash
pip install django-hstore-widget
```
## Installation
```python
# settings.py
INSTALLED_APPS = [
...,
'django_hstore_widget',
...
]
```
## Usage
```python
# 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

Raw data
{
"_id": null,
"home_page": null,
"name": "django-hstore-widget",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "baseplate-admin <61817579+baseplate-admin@users.noreply.github.com>",
"keywords": null,
"author": null,
"author_email": "baseplate-admin <61817579+baseplate-admin@users.noreply.github.com>, Alexandre Dufour <adufour@poka.io>",
"download_url": "https://files.pythonhosted.org/packages/88/b4/dc899dc49334bbdf6ce83aaa14162e1139843a6fe83d0bc74af276218d40/django_hstore_widget-0.0.23.tar.gz",
"platform": null,
"description": "# django-hstore-widget\n\n\n> [!NOTE] \nIf you want a field based implementation, please check [django-hstore-field](https://github.com/baseplate-admin/django-hstore-field). The package builds on top of this to give an ergonomic implementation. \n\n\n[](https://pepy.tech/project/django-hstore-widget) [](https://github.com/baseplate-admin/django-hstore-widget/actions/workflows/test.yml) [](https://pypi.org/project/django-hstore-widget/) [](https://results.pre-commit.ci/latest/github/baseplate-admin/django-hstore-widget/master)\n\n\nFormField that properly renders HStoreField Data in django Admin based on [`djangoauts package`](https://github.com/djangonauts/django-hstore) and an updated fork of [`django-admin-hstore-widget`](https://github.com/PokaInc/django-admin-hstore-widget)\n\n\n## Requirements\n\n- Python 3.9 and Up ( well technically any python version from 3.6 should work )\n- Django 3.2 and Up\n- Modern browsers ( Chrome 112+, Firefox 117+, Safari 16.5+ )\n\nUsing pip:\n\n```bash\npip install django-hstore-widget\n```\n\n## Installation\n\n```python\n\n# settings.py\n\nINSTALLED_APPS = [\n ...,\n 'django_hstore_widget',\n ...\n]\n\n```\n\n## Usage\n\n\n```python\n# yourmodel/forms.py\nfrom django import forms\nfrom django_hstore_widget.forms import HStoreFormField\nfrom .models import Yourmodel\n\nclass MyModelAdminForm(forms.ModelForm):\n my_hstore_field = HStoreFormField()\n\n class Meta:\n model = Yourmodel\n\n# yourmodel/admin.py\nfrom django.contrib import admin\nfrom .models import Yourmodel\nfrom .forms import MyModelAdminForm\n\n\n@admin.register(Yourmodel)\nclass YourmodelAdmin(admin.ModelAdmin):\n form = MyModelAdminForm\n```\n\n## Result\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Human friendly HStoreWidget. Continual of django-admin-hstore-widget.",
"version": "0.0.23",
"project_urls": {
"Bug Tracker": "https://github.com/baseplate-admin/django-hstore-widget/issues",
"Homepage": "https://github.com/baseplate-admin/django-hstore-widget",
"Repository": "https://github.com/baseplate-admin/django-hstore-widget"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "8caf840420a798e04b5e77d355923124c015e42d4c0eaaa0b814552bb6275ac8",
"md5": "8826ce7ff736cca0e9e993838784396f",
"sha256": "93cf0fc1fd9f40dc2844d1e3450a6aec2264e7b9db259d40600a0792941200b4"
},
"downloads": -1,
"filename": "django_hstore_widget-0.0.23-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8826ce7ff736cca0e9e993838784396f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 19099,
"upload_time": "2025-08-15T16:21:54",
"upload_time_iso_8601": "2025-08-15T16:21:54.626390Z",
"url": "https://files.pythonhosted.org/packages/8c/af/840420a798e04b5e77d355923124c015e42d4c0eaaa0b814552bb6275ac8/django_hstore_widget-0.0.23-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "88b4dc899dc49334bbdf6ce83aaa14162e1139843a6fe83d0bc74af276218d40",
"md5": "e0b89970c6ca50437cc4e6ac56d5c790",
"sha256": "15a583cacb8faf6a31fe71c0d6125739aa649d2aef624082a046864ba4da6d56"
},
"downloads": -1,
"filename": "django_hstore_widget-0.0.23.tar.gz",
"has_sig": false,
"md5_digest": "e0b89970c6ca50437cc4e6ac56d5c790",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 15717,
"upload_time": "2025-08-15T16:21:56",
"upload_time_iso_8601": "2025-08-15T16:21:56.096798Z",
"url": "https://files.pythonhosted.org/packages/88/b4/dc899dc49334bbdf6ce83aaa14162e1139843a6fe83d0bc74af276218d40/django_hstore_widget-0.0.23.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-15 16:21:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "baseplate-admin",
"github_project": "django-hstore-widget",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "django-hstore-widget"
}