Django HStore 프로젝트

Django admin을 위한 사용자 친화적인 PostgreSQL hstore 지원을 제공하는 Django HStore 생태계의 모노레포입니다.

패키지

django-hstore-widget

Django admin에서 hstore 데이터를 편집하기 위한 커스텀 위젯입니다. 반응형 키-값 편집기를 위해 Lit와 TypeScript로 구축되었습니다.

pip install django-hstore-widget
https://pypi.org/project/django-hstore-widget/
django-hstore-field

자동 연결된 위젯을 갖춘 드롭인 HStoreField입니다. 새 프로젝트에서 추가 구성이 필요 없습니다.

pip install django-hstore-field
https://pypi.org/project/django-hstore-field/

빠른 시작

새 프로젝트에서는 **django-hstore-field**를 사용하세요:

# models.py
from django.db import models
from django_hstore_field import HStoreField

class Product(models.Model):
    name = models.CharField(max_length=100)
    metadata = HStoreField()

위젯이 자동으로 연결되므로 폼 구성이 필요하지 않습니다.

목차

LLM 컨텍스트