From 62596ba0844e561e81a3e985b04b7e9dfb71709c Mon Sep 17 00:00:00 2001 From: Aurore Poirier Date: Mon, 9 Oct 2023 20:54:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Fixed=20a=20mistake=20made=20wit?= =?UTF-8?q?h=20a=20bad=20sed=20line=20=F0=9F=91=89=F0=9F=91=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- insalan/user/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insalan/user/views.py b/insalan/user/views.py index 25bee920..21a8a833 100644 --- a/insalan/user/views.py +++ b/insalan/user/views.py @@ -126,7 +126,7 @@ def post(self, request): and "password_confirm" in data ): return Response( - {[_("user")]: [_("Champ manquant")]}, + {"user": [_("Champ manquant")]}, status=status.HTTP_400_BAD_REQUEST, ) try: