diff options
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 |
commit | ad5de5b2fb255e84e2e6be7250aebc756faae734 (patch) | |
tree | 38619fca79a273f1beef23487e8f69555d304d76 /chimere/models.py | |
parent | c023e15be620717339a780b6f4960649a9952afe (diff) | |
download | Chimè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.py | 2 |
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, |