diff --git a/django_unicorn/utils.py b/django_unicorn/utils.py index 3d1d5e3..1555d85 100644 --- a/django_unicorn/utils.py +++ b/django_unicorn/utils.py @@ -280,7 +280,7 @@ def is_non_string_sequence(obj): if ( isinstance(obj, collections.abc.Sequence) or isinstance(obj, collections.abc.Set) - ) and not isinstance(obj, (str, collections.abc.ByteString)): + ) and not isinstance(obj, (str, bytes, bytearray)): return True return False