mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
#702: Fix lingering Unicode incompatibility
This commit is contained in:
parent
2edf823bb7
commit
0f08e703f6
@ -165,7 +165,7 @@ class CustomFieldValue(models.Model):
|
|||||||
unique_together = ['field', 'obj_type', 'obj_id']
|
unique_together = ['field', 'obj_type', 'obj_id']
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return '{} {}'.format(self.obj, self.field)
|
return u'{} {}'.format(self.obj, self.field)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def value(self):
|
def value(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user