Django Utilities for Postgresql
Project description
UtiliUtilities for Django Postgresql
Quickstart
Install Django Postgres Utils:
pip install django-postgres-utils
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_postgres_utils',
...
)
Sample usage usage of AdminHStoreWidget in admin:
# admin.py
from django.contrib import admin
from django.contrib.postgres.fields import HStoreField
from django_postgres_utils.widgets import AdminHStoreWidget
# ...
class MyModelAdmin(admin.ModelAdmin):
formfield_overrides = {
HStoreField: {'widget': AdminHStoreWidget},
}
# ...
Features
User friendly Admin widget for django HStoreField; django_postgres_utils.widgets.AdminHStoreWidget
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.1.0 (2017-09-18)
First release on PyPI.
0.1.1 (2018-10-03)
Upgrade to underscore 1.9.1
Fix bug in displaying quoted values
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
Close
Hashes for django-postgres-utils-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f8f4e3f65c49630d6d5f857ae110f38c1c4bf1ad103b99aecca3f3f9a70de1c |
|
MD5 | e2b016a3d50418650f57727f86e5218d |
|
BLAKE2b-256 | 46089206312c7ad5d8f9b7c275d4cd07c9d5c72577ef02bfa52a62ddac07a74f |