Skip to main content


Project description

Fields for storing serializable data.

What makes this different from other implementations available?

  • This implementation deserializes only when necessary. Deserializing is done on field access rather than on model instance creation. Serializing is done right before saving the model instance.
  • There is a test suite


  • 2.5 <= Python < 3
  • Django


pip install django-cerial


Serializes data as JSON. Example:

from django.db import models
from cerial import JSONField

class Entry(models.Model):
    data = JSONField()


Serializes data using cPickle. Example:

from django.db import models
from cerial import PickleField

class Entry(models.Model):
    data = PickleField()

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-cerial-0.0.4.tar.gz (6.4 kB view hashes)

Uploaded source

Supported by

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