From 8b66294b411e2c7261368dcf0e4d3100677ef290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Mon, 22 Aug 2016 04:25:44 +0200 Subject: [PATCH] =?UTF-8?q?Valeur=20supprim=C3=A9e=20du=20cache=20si=20par?= =?UTF-8?q?am=C3=A8tre=20updated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kfet/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kfet/forms.py b/kfet/forms.py index fd2952ec..db2a64c2 100644 --- a/kfet/forms.py +++ b/kfet/forms.py @@ -270,4 +270,5 @@ class SettingsForm(forms.ModelForm): raise ValidationError('Renseignez une durée') self.cleaned_data['value_decimal'] = None self.cleaned_data['value_account'] = None + cache.delete(name) super(SettingsForm, self).clean()