From 96da7d01ae722d9bdaa3e324089267519fee096e Mon Sep 17 00:00:00 2001 From: bleizi Date: Mon, 28 Aug 2023 19:26:51 +0200 Subject: [PATCH] change on a field that everyone have (1A don't have bus) --- apps/wei/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wei/views.py b/apps/wei/views.py index 80ff770e..7c8f3664 100644 --- a/apps/wei/views.py +++ b/apps/wei/views.py @@ -969,7 +969,7 @@ class WEIValidateRegistrationView(ProtectQuerysetMixin, ProtectedCreateView): if not registration.soge_credit and user.note.balance + credit_amount < fee: # Users must have money before registering to the WEI. - form.add_error('bus', + form.add_error('credit_type', _("This user don't have enough money to join this club, and can't have a negative balance.")) return super().form_invalid(form)