From 14bbb4487367b6f0e651a1210dc2728a16ee07b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjam=C3=ADn=20Mravec?= Date: Sun, 12 Nov 2023 01:42:43 +0100 Subject: [PATCH] Changed error message --- user/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/serializers.py b/user/serializers.py index a01ae106..8c072875 100644 --- a/user/serializers.py +++ b/user/serializers.py @@ -177,7 +177,7 @@ def validate_email(self, email): email = get_adapter().clean_email(email) if email and EmailAddress.objects.filter(email__iexact=email).exists(): raise serializers.ValidationError( - "Používateľ s danou emailovou adresou už existuje.") + "Zadaná emailová adresa už je používaná! Skús použiť inú.") return email def validate_password1(self, password):