Corrected Unicode display of ExportTemplates
This commit is contained in:
parent
e5b19a9374
commit
88b022d742
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue