def get_prep_value(self, value):
        if value == "" or value is None:
            return None

        value = pickle.dumps(value)
        return super(PickleField, self).get_prep_value(value)
Convert our JSON object to a string before we save
dataset/ETHPy150Open Suor/handy/handy/models/fields.py/PickleField.get_prep_value