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

Download files

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

Files for django-contrib-postgres, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-contrib-postgres-0.0.1.tar.gz (11.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page