diff --git a/passbook/admin/fields.py b/passbook/admin/fields.py index 8959b323f..e25cdd0cf 100644 --- a/passbook/admin/fields.py +++ b/passbook/admin/fields.py @@ -53,6 +53,8 @@ class YAMLField(forms.JSONField): ) if isinstance(converted, str): return YAMLString(converted) + if converted is None: + return {} return converted def bound_data(self, data, initial):