From: yomguy Date: Tue, 10 Apr 2012 22:18:43 +0000 (+0200) Subject: fix postal code X-Git-Tag: 0.2~69 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b1409c9c8e204064df0d6264897a508c050234e5;p=teleforma.git fix postal code --- diff --git a/teleforma/management/commands/teleforma-export-users.py b/teleforma/management/commands/teleforma-export-users.py index 63024955..57997a1a 100644 --- a/teleforma/management/commands/teleforma-export-users.py +++ b/teleforma/management/commands/teleforma-export-users.py @@ -38,7 +38,7 @@ class Command(BaseCommand): if profile: profile = Profile.objects.get(user=user) row.write(10, profile.address) - row.write(11, int(profile.postal_code)) + row.write(11, profile.postal_code) row.write(12, profile.city) row.write(13, profile.telephone) row.write(14, profile.date_added.strftime("%d/%m/%Y")) diff --git a/teleforma/templates/telemeta/inc/user_list.html b/teleforma/templates/telemeta/inc/user_list.html index 7e14b44d..d03386d6 100644 --- a/teleforma/templates/telemeta/inc/user_list.html +++ b/teleforma/templates/telemeta/inc/user_list.html @@ -55,7 +55,7 @@ {% endif %} - {% trans "Write" %} + {% trans "Message" %} {% endfor %}