Unicode handling cleanup

This commit is contained in:
Jeremy Stretch
2016-07-18 14:48:51 -04:00
parent b0cd044460
commit b619f99a75
6 changed files with 16 additions and 16 deletions

View File

@@ -80,7 +80,7 @@ class Circuit(CreatedUpdatedModel):
unique_together = ['provider', 'cid']
def __unicode__(self):
return "{0} {1}".format(self.provider, self.cid)
return u'{} {}'.format(self.provider, self.cid)
def get_absolute_url(self):
return reverse('circuits:circuit', args=[self.pk])