Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Efficient pickling for django models.

Project Description

Makes django models pickling 2-3 times faster and compact.


Python 2.7 or 3.3+, Django 1.8+

Installation and setup

$ pip install django-pickling

Then add django_pickling to your INSTALLED_APPS.


  1. No Django version checks are performed.
  2. If fields list changes you will see TypeErrors instead of AttributeErrors.

In both cases you should wipe your cache or change keys. Note that you will need to deal with this anyway, with django-pickling you’ll just get weirder errors.

Another thing is that objects with deferred fields are not optimized.

Release History

This version
History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.6 kB) Copy SHA256 Hash SHA256
Source None May 25, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers