mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
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
Block a user