From ad3aea384a55429cb11b4ca673873981be33b49e Mon Sep 17 00:00:00 2001 From: Shrikrishna Singh Date: Fri, 10 Apr 2020 20:39:03 +0530 Subject: [PATCH] Fix ticket model __str__ method --- junction/tickets/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/junction/tickets/models.py b/junction/tickets/models.py index 506de26d..c775c037 100644 --- a/junction/tickets/models.py +++ b/junction/tickets/models.py @@ -24,4 +24,4 @@ class Ticket(AuditModel): others = JSONField() def __str__(self): - return self.name, self.email, self.ticket_no + return "{} : {} : {}".format(self.name, self.email, self.ticket_no)