0001-saml-don-t-crash-on-empty-multi-select-field-25965.patch
src/authentic2/saml/fields.py | ||
---|---|---|
165 | 165 |
def to_python(self, value): |
166 | 166 |
if isinstance(value, list): |
167 | 167 |
return value |
168 |
if not value: |
|
169 |
return [] |
|
168 | 170 |
return value.split(",") |
169 | 171 | |
170 | 172 |
def from_db_value(self, value, expression, connection, context): |
171 |
- |