Merge pull request #542 from msaelices/unicode-ticket-issue

Fix `UnicodeEncodeError` when ticket has an special char using python2 and user goes to the admin page.
This commit is contained in:
Garret Wassermann 2017-08-20 21:20:18 -04:00 committed by GitHub
commit 02b39adf8e

View File

@ -339,6 +339,7 @@ class Queue(models.Model):
pass pass
@python_2_unicode_compatible
class Ticket(models.Model): class Ticket(models.Model):
""" """
To allow a ticket to be entered as quickly as possible, only the To allow a ticket to be entered as quickly as possible, only the