From: Guillaume Pellerin Date: Thu, 25 Aug 2016 10:40:23 +0000 (+0200) Subject: Cron push rule applied at 6h periods only X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bbae032b7e513c82a5d10fcab72f609d8ff3a0a5;p=mezzo.git Cron push rule applied at 6h periods only --- diff --git a/app/organization/pages/forms.py b/app/organization/pages/forms.py index 12be7870..fca71ef5 100644 --- a/app/organization/pages/forms.py +++ b/app/organization/pages/forms.py @@ -8,6 +8,7 @@ from organization.pages.models import CustomPage # from mezzanine_agenda.models import Event from organization.pages.models import DynamicContentHomeSlider, DynamicContentHomeBody + class DynamicContentHomeSliderForm(autocomplete.FutureModelForm): content_object = dal_queryset_sequence.fields.QuerySetSequenceModelField( @@ -26,8 +27,6 @@ class DynamicContentHomeSliderForm(autocomplete.FutureModelForm): fields = ('content_object',) - - class DynamicContentHomeBodyForm(autocomplete.FutureModelForm): content_object = dal_queryset_sequence.fields.QuerySetSequenceModelField( diff --git a/install.py b/install.py index d5db0bf3..18fc349d 100755 --- a/install.py +++ b/install.py @@ -103,7 +103,7 @@ class DockerCompositionInstaller(object): docker = '/etc/init.d/docker' docker_compose = '/usr/local/bin/docker-compose' - cron_rule = "* * * * * %s %s" + cron_rule = "* */6 * * * %s %s" def __init__(self, config='docker-compose.yml', init_type='sysvinit', cron=False, user=None): self.init_type = init_type diff --git a/lib/mezzanine-agenda b/lib/mezzanine-agenda index 110063bd..3a5ba723 160000 --- a/lib/mezzanine-agenda +++ b/lib/mezzanine-agenda @@ -1 +1 @@ -Subproject commit 110063bdfed543121c0c1d80c9c8bee74933e6b9 +Subproject commit 3a5ba723573897568f1ca86eabbeeff47cde57d6