Exemple #1
0
 def to_python(self, value):
     if isinstance(value, basestring):
         value = RboxTextField.to_python(self, value)
         value = BasePickleImplementation.to_python(self, value)
     return value
Exemple #2
0
 def get_db_prep_value(self, value, connection, prepared=False):
     value = BasePickleImplementation.get_db_prep_value(self, value, connection, prepared=prepared)
     value = RboxTextField.get_db_prep_value(self, value, connection, prepared=prepared)
     return value