diff --git a/django_quill/fields.py b/django_quill/fields.py index 787e475..bb4b6bd 100644 --- a/django_quill/fields.py +++ b/django_quill/fields.py @@ -18,6 +18,9 @@ def __init__(self, instance, field, json_string): self.json_string = json_string or '{"delta":"","html":""}' self._committed = True + def __str__(self): + return self.delta + def __eq__(self, other): if hasattr(other, "json_string"): return self.json_string == other.json_string