Drop-in HStore field with auto-wired widget for Django admin.
pip install django-hstore-fieldAdd both packages to INSTALLED_APPS:
INSTALLED_APPS = [
...,
'django_hstore_widget',
'django_hstore_field',
...
]# models.py
from django.db import models
from django_hstore_field import HStoreField
class MyModel(models.Model):
metadata = HStoreField()That's it — the widget is auto-wired. No form configuration needed.