Skip to main content

Django Postgres Utils

https://badge.fury.io/py/django-postgres-utils.svg https://travis-ci.org/tehamalab/django-postgres-utils.svg?branch=master https://codecov.io/gh/tehamalab/django-postgres-utils/branch/master/graph/badge.svg

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

0.1.2 (2018-11-20)

  • Django 2.1 compatibility

Metadata

Release files for django-postgres-utils 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-postgres-utils 0.1.2
File Size Uploaded Provenance Actions
django-postgres-utils-0.1.2.tar.gz 16.2 kB Without provenance Details for django-postgres-utils-0.1.2.tar.gz

Release files / django-postgres-utils-0.1.2.tar.gz

Download URL django-postgres-utils-0.1.2.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e009fecc6aa8dc1cc1c65596e4db0085d6ca19c5d34bb09c661dd67b34c6649d
BLAKE2b-256 checksum
How to use checksums
bbf022110bdaf48c1a07e29b568356d8e0e1ec6b146ed6b2b5edc997c905a375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.2 CPython/3.6.3

Security for django-postgres-utils 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page