From 4f94d484d431b25ff2e5f70b408d1341ee29be62 Mon Sep 17 00:00:00 2001 From: Guillaume Goessel Date: Tue, 1 Aug 2017 14:12:27 +0200 Subject: [PATCH] =?UTF-8?q?Ajustement=20de=20la=20suggestion=20des=20carac?= =?UTF-8?q?t=C3=A8res=20pour=20le=20pseudo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- users/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models.py b/users/models.py index c7503d75..41eb969a 100644 --- a/users/models.py +++ b/users/models.py @@ -111,7 +111,7 @@ class UserManager(BaseUserManager): raise ValueError('Users must have an username') if not linux_user_check(pseudo): - raise ValueError('Username shall only contain [a-z0-9_-]') + raise ValueError('Username shall only contain [a-z0-9-]') user = self.model( pseudo=pseudo,