summaryrefslogtreecommitdiff
path: root/chimere/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-06 18:11:28 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-06 18:11:28 +0200
commit2f843cc211968c135bd33ffa8838f5cf2d2b3129 (patch)
tree6f213b29556545f9e9edd0b623cf73a660ce21ad /chimere/models.py
parent2dc3990379beea996d88737122e9eeaa00bf212f (diff)
downloadChimère-2f843cc211968c135bd33ffa8838f5cf2d2b3129.tar.bz2
Chimère-2f843cc211968c135bd33ffa8838f5cf2d2b3129.zip
Can now disable "Participate" for an area
Diffstat (limited to 'chimere/models.py')
-rw-r--r--chimere/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/chimere/models.py b/chimere/models.py
index e663975..f27562b 100644
--- a/chimere/models.py
+++ b/chimere/models.py
@@ -1535,6 +1535,12 @@ class Area(models.Model, SimpleArea):
null=True)
restrict_to_extent = models.BooleanField(_(u"Restrict to the area extent"),
default=False)
+ allow_point_edition = models.BooleanField(_(u"Allow point edition"),
+ default=True)
+ allow_route_edition = models.BooleanField(_(u"Allow route edition"),
+ default=True)
+ allow_polygon_edition = models.BooleanField(_(u"Allow polygon edition"),
+ default=True)
objects = models.GeoManager()
def __unicode__(self):