diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-09 01:07:46 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-01-09 01:07:46 +0100 |
commit | 862afc0afe881ac712962e1a3caa4cc43dffde9a (patch) | |
tree | 2b84e5d55b78cd46f420f5b14ed8fa4334ef5f46 /ishtar/furnitures/models.py | |
parent | 6afe48ce4f15f14b75980f62de321185367a3d64 (diff) | |
download | Ishtar-862afc0afe881ac712962e1a3caa4cc43dffde9a.tar.bz2 Ishtar-862afc0afe881ac712962e1a3caa4cc43dffde9a.zip |
Correct addresses of archeological files (refs #14)
Diffstat (limited to 'ishtar/furnitures/models.py')
-rw-r--r-- | ishtar/furnitures/models.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py index 5a8a76fba..6664adb72 100644 --- a/ishtar/furnitures/models.py +++ b/ishtar/furnitures/models.py @@ -245,7 +245,11 @@ class File(BaseHistorizedItem, OwnPerms): total_surface = models.IntegerField(_(u"Total surface")) total_developed_surface = models.IntegerField(_(u"Total developed surface"), blank=True, null=True) - address = models.TextField(_(u"Address")) + address = models.TextField(_(u"Main address"), null=True, blank=True) + address_complement = models.TextField(_(u"Main address - complement"), + null=True, blank=True) + postal_code = models.CharField(_(u"Main address - postal code"), + max_length=10, null=True, blank=True) comment = models.TextField(_(u"Comment")) history = HistoricalRecords() |