def setUp(self):
        self.client.login(username='admin', password='root')
def serialize(self, value, display=False):
        if value.lower() in log.COLORS:
            return encode(value.lower())
        return ""