All Projects → Suor → Django Pickling

Suor / Django Pickling

Licence: other
Efficient pickling for django models

Programming Languages

python
139335 projects - #7 most used programming language

Django pickling

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

Requirements

| Python 2.7 or 3.3+, Django 1.8+

Installation and setup

$ pip install django-pickling

Then add django_pickling to your INSTALLED_APPS.

CAVEATS

  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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].