Revised the string representation of a user in the Mia core application.
This commit is contained in:
parent
31b9590a7a
commit
227068e9be
@ -110,7 +110,7 @@ class User(DirtyFieldsMixin, models.Model):
|
|||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
"""Returns the string representation of this user."""
|
"""Returns the string representation of this user."""
|
||||||
return "%s(%s)" % (
|
return "%s (%s)" % (
|
||||||
self.name.__str__(), self.login_id.__str__())
|
self.name.__str__(), self.login_id.__str__())
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
Loading…
Reference in New Issue
Block a user