diff options
author | Markus Krogh <markus@nordu.net> | 2016-03-14 09:57:28 +0000 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2016-03-14 09:57:28 +0000 |
commit | c9d7afac4f1396b6e632277b39fea816b974131e (patch) | |
tree | 0b98d9c4869a9f100503783e0a784ada04c3ed8a /maconomy/models.py | |
parent | 0c2bdfb49bbc43ec45f298a58c6e4c28d4fd25e6 (diff) |
Support ISO-8859-1 and utf8v1.0
Diffstat (limited to 'maconomy/models.py')
-rw-r--r-- | maconomy/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maconomy/models.py b/maconomy/models.py index 14629ca..f878172 100644 --- a/maconomy/models.py +++ b/maconomy/models.py @@ -11,7 +11,7 @@ class Employee: return cls(id, name, email) def __unicode__(self): - return u"{} ({})".format(self.name, self.id) + return u"{} ({})".format(unicode(self.name,"ISO-8859-1"), self.id) class Timesheet: |