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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page