summaryrefslogtreecommitdiff
path: root/chimere/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-06-18 14:59:15 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-06-18 14:59:15 +0200
commit4417bdc2ed42a0910e4d0fcb3d42165a1cca9dd7 (patch)
treef01a1b9f4807613aaf8bcec235fdf5665f12c387 /chimere/models.py
parent81cc55bdada577a8b3c3cf1304f48c64810083aa (diff)
downloadChimère-4417bdc2ed42a0910e4d0fcb3d42165a1cca9dd7.tar.bz2
Chimère-4417bdc2ed42a0910e4d0fcb3d42165a1cca9dd7.zip
Enable map clustering option - fix category when there is only one
Diffstat (limited to 'chimere/models.py')
-rw-r--r--chimere/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/chimere/models.py b/chimere/models.py
index a1d96d0..b791a8b 100644
--- a/chimere/models.py
+++ b/chimere/models.py
@@ -1381,6 +1381,8 @@ class Map(models.Model, SimpleArea):
u"available"))
external_css = models.URLField(_(u"Link to an external CSS"), blank=True,
null=True)
+ cluster = models.BooleanField(u"Clustering map (weight of items are added)",
+ default=False)
public_read = models.BooleanField(_(u"Public can read the map"))
public_propose = models.BooleanField(_(u"Public can propose item to the map"))
public_write = models.BooleanField(_(u"Public can write without moderation to the map"))