Corrected Unicode display of ExportTemplates

This commit is contained in:
Jeremy Stretch 2016-07-26 09:15:46 -04:00
parent e5b19a9374
commit 88b022d742

View File

@ -77,7 +77,7 @@ class ExportTemplate(models.Model):
]
def __unicode__(self):
return "{}: {}".format(self.content_type, self.name)
return u'{}: {}'.format(self.content_type, self.name)
def to_response(self, context_dict, filename):
"""