From d527886c61ff92d5bae8b1b5548851580505c716 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..fb2d3eb7 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 f"{self.name} - {self.email} - {self.ticket_no}"