Skip to content

Commit

Permalink
Fix ticket model __str__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
sks444 committed Apr 10, 2020
1 parent b2c4cb6 commit d527886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion junction/tickets/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit d527886

Please sign in to comment.