Force all items in full_address as unicode.

This commit is contained in:
2013-04-06 22:31:34 +01:00
parent e0ba49494e
commit 42c92b4881

View File

@@ -168,7 +168,7 @@ class Address(models.Model):
self.postcode,
self.country.name,
]
return ', '.join([f.strip() for f in fields if f and f.strip() != ''])
return u', '.join([unicode(f).strip() for f in fields if f and unicode(f).strip() != ''])
@property
def geo_location(self):