diff --git a/dr_botzo/dispatch/models.py b/dr_botzo/dispatch/models.py index 23d286a..10b3183 100644 --- a/dr_botzo/dispatch/models.py +++ b/dr_botzo/dispatch/models.py @@ -1,5 +1,7 @@ """Track dispatcher configurations.""" +from __future__ import unicode_literals + import logging from django.db import models @@ -22,7 +24,7 @@ class Dispatcher(models.Model): def __unicode__(self): """String representation.""" - return u"{0:s}".format(self.key) + return "{0:s}".format(self.key) class DispatcherAction(models.Model): @@ -44,4 +46,4 @@ class DispatcherAction(models.Model): def __unicode__(self): """String representation.""" - return u"{0:s} -> {1:s} {2:s}".format(self.dispatcher.key, self.type, self.destination) + return "{0:s} -> {1:s} {2:s}".format(self.dispatcher.key, self.type, self.destination)