Corrected Unicode display of ExportTemplates
This commit is contained in:
@@ -77,7 +77,7 @@ class ExportTemplate(models.Model):
|
|||||||
]
|
]
|
||||||
|
|
||||||
def __unicode__(self):
|
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):
|
def to_response(self, context_dict, filename):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user