mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-14 14:52:16 +00:00
Force all items in full_address as unicode.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user