Here are the examples of the python api django.utils.six.moves.cPickle.dump taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
"""Ensure VersatileImageField instances can be pickled/unpickled."""
jpg_unpickled = cPickle.load(
jpg_instance = jpg_unpickled
pickled_state = self.jpg.image.__getstate__()