From d264c46385700dd32393597a3dad99e68e23c3e9 Mon Sep 17 00:00:00 2001 From: msaelices Date: Mon, 21 Aug 2017 02:10:43 +0200 Subject: [PATCH] Fix `UnicodeEncodeError` when ticket has an special char using python2 and user goes to the admin page. --- helpdesk/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/helpdesk/models.py b/helpdesk/models.py index 3b0c605c..621ba223 100644 --- a/helpdesk/models.py +++ b/helpdesk/models.py @@ -339,6 +339,7 @@ class Queue(models.Model): pass +@python_2_unicode_compatible class Ticket(models.Model): """ To allow a ticket to be entered as quickly as possible, only the