Revision 0e02a709
b/snf-cyclades-app/synnefo/db/fields.py | ||
---|---|---|
42 | 42 |
|
43 | 43 |
def to_python(self, value): |
44 | 44 |
if not value: |
45 |
return |
|
45 |
return []
|
|
46 | 46 |
if isinstance(value, list): |
47 | 47 |
return value |
48 | 48 |
return value.split(self.delimiter) |
Also available in: Unified diff