summaryrefslogtreecommitdiff
path: root/chimere/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-05-25 20:17:25 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-05-25 20:17:25 +0200
commit26e85a9e32f900436d250d0f485300ce94c2efc1 (patch)
tree700826e368749371641ee1589df2492d7a635a42 /chimere/models.py
parentf9c9d2374f253d89eb8b883d40bdd33382f61f31 (diff)
downloadChimère-26e85a9e32f900436d250d0f485300ce94c2efc1.tar.bz2
Chimère-26e85a9e32f900436d250d0f485300ce94c2efc1.zip
Improve edit form layout
Diffstat (limited to 'chimere/models.py')
-rw-r--r--chimere/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/chimere/models.py b/chimere/models.py
index 3744544..d9b388d 100644
--- a/chimere/models.py
+++ b/chimere/models.py
@@ -1815,6 +1815,11 @@ class PropertyModel(models.Model):
blank=True, verbose_name=_(u"Restricted to theses sub-categories"),
help_text=_(u"If no sub-category is set all the property applies to "
u"all sub-categories"))
+ areas = SelectMultipleField(
+ 'Area', verbose_name=_(u"Restrict to theses areas"), blank=True,
+ null=True,
+ help_text=_(u"If no area is set the property apply to "
+ u"all areas"))
TYPE = (('T', _('Text')),
('L', _('Long text')),
('P', _('Password')),