summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-13 12:36:01 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-13 12:36:01 +0200
commit87cd9b259315a7efda4fcd0e31f93caf5cb184cb (patch)
treebf47f8563cfc05edeab89901fdb165c5d5e7cffc /ishtar_common/models.py
parent2fa2c9d11d605ffbaf8ce21b247d88fe1fa8ecca (diff)
parent50162e444ac3f50194318338cfb3b1ad7480f9a8 (diff)
downloadIshtar-87cd9b259315a7efda4fcd0e31f93caf5cb184cb.tar.bz2
Ishtar-87cd9b259315a7efda4fcd0e31f93caf5cb184cb.zip
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index f3f9f0778..9ec03b60e 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2220,7 +2220,7 @@ pre_delete.connect(pre_delete_import, sender=Import)
class Organization(Address, Merge, OwnPerms, ValueGetter):
- TABLE_COLS = ('name', 'organization_type',)
+ TABLE_COLS = ('name', 'organization_type', 'town')
SHOW_URL = 'show-organization'
name = models.CharField(_(u"Name"), max_length=500)
organization_type = models.ForeignKey(OrganizationType,
@@ -2298,7 +2298,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter):
('Dr', _(u'Doctor')),
)
TABLE_COLS = ('name', 'surname', 'raw_name', 'email', 'person_types_list',
- 'attached_to')
+ 'attached_to', 'town')
SHOW_URL = 'show-person'
MODIFY_URL = 'person_modify'
old_title = models.CharField(_(u"Title"), max_length=100, choices=TYPE,