From 26e85a9e32f900436d250d0f485300ce94c2efc1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 25 May 2016 20:17:25 +0200 Subject: Improve edit form layout --- chimere/models.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chimere/models.py') 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')), -- cgit v1.2.3