mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
#702: Fix lingering Unicode incompatibility
This commit is contained in:
parent
77ac79f32c
commit
9ea3383fde
@ -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