summaryrefslogtreecommitdiff
path: root/chimere/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/forms.py')
-rw-r--r--chimere/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chimere/forms.py b/chimere/forms.py
index 5fa7ea9..91ba686 100644
--- a/chimere/forms.py
+++ b/chimere/forms.py
@@ -383,11 +383,11 @@ class MarkerAdminFormBase(forms.ModelForm):
self.fields.pop(k)
def clean(self):
- '''
+ """
Verify that a start date is provided when an end date is set
Verify the mandatory properties (to be check manualy because it depends
on the checked categories)
- '''
+ """
start_date = self.cleaned_data.get('start_date')
end_date = self.cleaned_data.get('end_date')
if end_date and not start_date: