Merge branch 'hotfix/v10.25'
This commit is contained in:
@@ -1045,8 +1045,11 @@ class ConditionEditForm(ModelForm):
|
||||
|
||||
def clean(self):
|
||||
cd = self.cleaned_data
|
||||
if cd['condition'] == 'between' and cd['value2'] is None:
|
||||
raise forms.ValidationError('When using between, you must fill value 1 and value 2')
|
||||
try:
|
||||
if cd['condition'] == 'between' and cd['value2'] is None:
|
||||
raise forms.ValidationError('When using between, you must fill value 1 and value 2')
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
class BaseConditionFormSet(BaseFormSet):
|
||||
def clean(self):
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
BIN
rowers/tests/testdata/testdata.csv.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user