summaryrefslogtreecommitdiff
path: root/chimere/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-11-04 15:02:46 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-11-04 15:06:24 +0100
commitad5de5b2fb255e84e2e6be7250aebc756faae734 (patch)
tree38619fca79a273f1beef23487e8f69555d304d76 /chimere/models.py
parentc023e15be620717339a780b6f4960649a9952afe (diff)
downloadChimère-ad5de5b2fb255e84e2e6be7250aebc756faae734.tar.bz2
Chimère-ad5de5b2fb255e84e2e6be7250aebc756faae734.zip
Imports: add an automatic update option
When set to True: * can be imported automatically by the chimere_import command * new items are directly available (and not at the Imported state) Admin interface and model updated.
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 3177864..33e7682 100644
--- a/chimere/models.py
+++ b/chimere/models.py
@@ -352,6 +352,8 @@ class Importer(models.Model):
blank=True, null=True)
associate_marker_to_way = models.BooleanField(_(u"Automatically associate "\
u"a marker to a way"), default=False)
+ automatic_update = models.BooleanField(_(u"Automatically updated"),
+ default=False)
default_localisation = PointField(_(u"Default localisation"),
srid=settings.CHIMERE_EPSG_DISPLAY_PROJECTION,
blank=True, null=True,