Skip to content

Commit e70b6b2

Browse files
committed
Fix ticket model __str__ method
1 parent b2c4cb6 commit e70b6b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junction/tickets/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ class Ticket(AuditModel):
2424
others = JSONField()
2525

2626
def __str__(self):
27-
return self.name, self.email, self.ticket_no
27+
return "{} : {} : {}".format(self.name, self.email, self.ticket_no)

0 commit comments

Comments
 (0)