1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#702: Fix lingering Unicode incompatibility

This commit is contained in:
Jeremy Stretch
2016-11-29 17:33:22 -05:00
parent 77ac79f32c
commit 9ea3383fde

View File

@@ -165,7 +165,7 @@ class CustomFieldValue(models.Model):
unique_together = ['field', 'obj_type', 'obj_id']
def __unicode__(self):
return '{} {}'.format(self.obj, self.field)
return u'{} {}'.format(self.obj, self.field)
@property
def value(self):