diff --git a/core/exceptions/handlers.py b/core/exceptions/handlers.py index 9524ad6..e6ad259 100644 --- a/core/exceptions/handlers.py +++ b/core/exceptions/handlers.py @@ -35,7 +35,7 @@ def _to_str_list(value: str | ErrorDetail | list | tuple | dict) -> list[str]: if field in ("non_field_errors", "__all__"): items.append(str(msg)) else: - items.append(f"{field}: {msg}") + items.append(f"{msg}") return items return [str(value)]