def to_python(self, value):
     if value is None:
         return None
     return Card.list_from_str(value)
 def from_db_value(self, value, expression, connection, context):
     if value is None:
         return None
     return Card.list_from_str(value)