Fields
These fields can be found in the playhouse.fields
module.
class CompressedField
([compression_level=6[, algorithm=’zlib’[, \*kwargs*]]])
Parameters: |
|
---|
Stores compressed data using the specified algorithm. This field extends BlobField
, transparently storing a compressed representation of the data in the database.
class PickleField
Stores arbitrary Python data by transparently pickling and un-pickling data stored in the field. This field extends BlobField
. If the cPickle
module is available, it will be used.