forked from DGNum/gestioCOF
Valeur supprimée du cache si paramètre updated
This commit is contained in:
parent
7ca123e885
commit
8b66294b41
1 changed files with 1 additions and 0 deletions
|
@ -270,4 +270,5 @@ class SettingsForm(forms.ModelForm):
|
||||||
raise ValidationError('Renseignez une durée')
|
raise ValidationError('Renseignez une durée')
|
||||||
self.cleaned_data['value_decimal'] = None
|
self.cleaned_data['value_decimal'] = None
|
||||||
self.cleaned_data['value_account'] = None
|
self.cleaned_data['value_account'] = None
|
||||||
|
cache.delete(name)
|
||||||
super(SettingsForm, self).clean()
|
super(SettingsForm, self).clean()
|
||||||
|
|
Loading…
Reference in a new issue