Skip to content

Commit

Permalink
fix: task __str__()
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Jun 6, 2024
1 parent 6e3e833 commit d940c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniticket/uni_ticket/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ def get_status(self):
return _('<span class="badge badge-danger">Aperta</span>')

def __str__(self):
return "{} - ticket: {}".format(self.subject, self.ticket)
return self.subject


class Task2Ticket(models.Model):
Expand Down

0 comments on commit d940c1d

Please sign in to comment.