Skip to main content

Backport of django.contrib.postgres

Project description

Backport of Django 1.9+ django.contrib.postgres

Usage

from postgres.fields import JSONField
from django.db import models

class Dog(models.Model):
    name = models.CharField(max_length=200)
    data = JSONField()

    def __str__(self):  # __unicode__ on Python 2
        return self.name

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-contrib-postgres-0.0.1.tar.gz (11.6 kB view details)

Uploaded Source

File details

Details for the file django-contrib-postgres-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-contrib-postgres-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4c8b57efd93ed0a37ba6fb457c69993ef3f2a51c560c0dd7b1b3cfb78810b0ff
MD5 b031f6e338c9fd6d15306702fe1ca4f8
BLAKE2b-256 c2b53b44b3448b7bea831b44f6e9b3335e7d0f9cca590493ed30d552ef6536fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page