Human friendly HStoreWidget. Continual of django-admin-hstore-widget.
Reason this release was yanked:
The project doesn't have JS File
Project description
django-hstore-widget
FormField that properly render HStoreField Data in django Admin based on djangoauts package
and updated fork of 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
Using pip:
pip install django-hstore-widget
Installation
# settings.py
INSTALLED_APPS = [
...,
'django_hstore_widget',
...
]
Usage
# yourmodel/admin.py
from django.contrib import admin
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
exclude = ()
@admin.register(Yourmodel)
class YourmodelAdmin(admin.ModelAdmin):
form = MyModelAdminForm
Result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_hstore_widget-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 831b8975286cae433f5bb08ddb2383d55bd395443000c53651aae1b6f29fc380 |
|
MD5 | 7cf79a80112e506b9bbee6d8b8f4f4cf |
|
BLAKE2b-256 | 99720c0cea5c530c9db1709ffbb963f93133b711691958fc7b9bdbed5ed021e5 |
Close
Hashes for django_hstore_widget-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c613e742ec650b00a7fc9f25a6ee16028b0ad6f9b63aab517d93bbc3772ad6 |
|
MD5 | 3804d7bdf7a309a48d8fa0ab7b71fa85 |
|
BLAKE2b-256 | 093ff6dd5f011cfb13e863ecb08f39de59dbb008b2b38cd289255de2623b257e |