{"id":17757810,"url":"https://github.com/baseplate-admin/django-hstore-widget","last_synced_at":"2025-03-15T07:32:04.360Z","repository":{"id":258395183,"uuid":"871530993","full_name":"baseplate-admin/django-hstore-widget","owner":"baseplate-admin","description":"Human friendly HStoreWidget. Continual of django-admin-hstore-widget.","archived":false,"fork":false,"pushed_at":"2024-10-25T04:55:48.000Z","size":274,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-26T03:40:18.689Z","etag":null,"topics":["django","django-admin","django-admin-panel","hstore","postgres","postgresql"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/django-hstore-widget/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baseplate-admin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-12T08:10:31.000Z","updated_at":"2024-10-25T04:55:14.000Z","dependencies_parsed_at":"2024-10-22T10:52:36.078Z","dependency_job_id":null,"html_url":"https://github.com/baseplate-admin/django-hstore-widget","commit_stats":null,"previous_names":["baseplate-admin/django-hstore-widget"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fdjango-hstore-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fdjango-hstore-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fdjango-hstore-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fdjango-hstore-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baseplate-admin","download_url":"https://codeload.github.com/baseplate-admin/django-hstore-widget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221556517,"owners_count":16842605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-admin","django-admin-panel","hstore","postgres","postgresql"],"created_at":"2024-10-26T17:08:50.950Z","updated_at":"2025-03-15T07:32:04.355Z","avatar_url":"https://github.com/baseplate-admin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-hstore-widget\n\n\n[![Downloads](https://static.pepy.tech/badge/django-hstore-widget)](https://pepy.tech/project/django-hstore-widget)  [![CI](https://github.com/baseplate-admin/django-hstore-widget/actions/workflows/CI.yml/badge.svg)](https://github.com/baseplate-admin/django-hstore-widget/actions/workflows/test.yml) [![Pypi Badge](https://img.shields.io/pypi/v/django-hstore-widget.svg)](https://pypi.org/project/django-hstore-widget/) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/baseplate-admin/django-hstore-widget/master.svg)](https://results.pre-commit.ci/latest/github/baseplate-admin/django-hstore-widget/master)\n\n---\n\nFormField that properly render HStoreField Data in django Admin based on [`djangoauts package`](https://github.com/djangonauts/django-hstore) and updated fork of [`django-admin-hstore-widget`](https://github.com/PokaInc/django-admin-hstore-widget)\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\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```python\n# yourmodel/admin.py\nfrom django.contrib import admin\nfrom django import forms\n\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@admin.register(Yourmodel)\nclass YourmodelAdmin(admin.ModelAdmin):\n    form = MyModelAdminForm\n\n```\n\n## Result\n\n![Rendered result](./assets/rendered.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Fdjango-hstore-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaseplate-admin%2Fdjango-hstore-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Fdjango-hstore-widget/lists"}