Core module of django orm extensions package. Is a collection of third party plugins build in one unified package.
NOTE: this package is deprecated, because django after version 1.6 has support for binaryfield nativelly.
Binary field and other usefull tools for postgresql bytea field type.
from django.db import models from djorm_pgbytea.fields import ByteaField, LargeObjectField class ByteaModel(models.Model): data = ByteaField() class LargeObjectModel(models.Model): lobj = LargeObjectField(default=None, null=True)
How to install?
Install the stable version using pip by running:
pip install djorm-ext-pgbytea
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.