From 227068e9beb9150bc5d72f2597a0a0b89a16d9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 9 Aug 2020 20:27:05 +0800 Subject: [PATCH] Revised the string representation of a user in the Mia core application. --- mia_core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mia_core/models.py b/mia_core/models.py index b9b7d6b..43fb124 100644 --- a/mia_core/models.py +++ b/mia_core/models.py @@ -110,7 +110,7 @@ class User(DirtyFieldsMixin, models.Model): def __str__(self): """Returns the string representation of this user.""" - return "%s(%s)" % ( + return "%s (%s)" % ( self.name.__str__(), self.login_id.__str__()) class Meta: