Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

django-hstore-field

Drop-in HStore field with auto-wired widget for Django admin.

Pypi Badge

Installation

pip install django-hstore-field

Add both packages to INSTALLED_APPS:

INSTALLED_APPS = [
    ...,
    'django_hstore_widget',
    'django_hstore_field',
    ...
]

Usage

# 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.